geomstats: a Python Package for Riemannian Geometry in Machine Learning

Nina Miolane, Johan Mathe, Claire Donnat, Mikael Jorda, Xavier Pennec
5/21/2018
175 citations
cs.LGcs.MSstat.ML

Official code: geomstats/geomstats (1,534 stars, Python, MIT, last commit 2026-10-07).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Computations and statistics on manifolds with geometric structures.

1,534310Python, ShellOct 25, 20171 months agoMIT
deep-learninggeodesicgeometrygpu-programminglie-groups+5 more

Similar Papers

Cite this paper

@article{miolane2018geomstats,
  title  = {geomstats: a Python Package for Riemannian Geometry in Machine Learning},
  author = {Nina Miolane and Johan Mathe and Claire Donnat and Mikael Jorda and Xavier Pennec},
  year   = {2018},
  eprint = {1805.08308},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1805.08308}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1805.08308.svg)](https://codeofpaper.com/paper/1805.08308)

Discussion