geomstats: a Python Package for Riemannian Geometry in Machine Learning
Preprint
Abstract
We introduce geomstats, a python package that performs computations on manifolds such as hyperspheres, hyperbolic spaces, spaces of symmetric positive definite matrices and Lie groups of transformations. We provide efficient and extensively unit-tested implementations of these manifolds, together with useful Riemannian metrics and associated Exponential and Logarithm maps. The corresponding geodesic distances provide a range of intuitive choices of Machine Learning loss functions. We also give the corresponding Riemannian gradients. The operations implemented in geomstats are available with different computing backends such as numpy, tensorflow and keras. We have enabled GPU implementation and integrated geomstats manifold computations into keras deep learning framework. This paper also presents a review of manifolds in machine learning and an overview of the geomstats package with examples demonstrating its use for efficient and user-friendly Riemannian geometry.Keywords
All Related Versions
This publication has 18 references indexed in Scilit:
- Learning a robust representation via a deep network on symmetric positive definite manifoldsPattern Recognition, 2019
- Computational Anatomy in Theano2017
- Non-Euclidean classification of medically imaged objects via s-repsMedical Image Analysis, 2016
- Deep Residual Learning for Image Recognition2016
- PoseNet: A Convolutional Network for Real-Time 6-DOF Camera Relocalization2015
- Sex differences in the structural connectome of the human brainProceedings of the National Academy of Sciences of the United States of America, 2013
- Riemannian Medians and Means With Applications to Radar Signal ProcessingIEEE Journal of Selected Topics in Signal Processing, 2013
- Disrupted Functional Brain Connectome in Individuals at Risk for Alzheimer's DiseaseBiological Psychiatry, 2013
- Popularity versus similarity in growing networksNature, 2012
- Towards statistics of crystal orientations in quantitative texture anaylsisJournal of Applied Crystallography, 1993