Geomstats: A Python Package for Riemannian Geometry in Machine Learning

Abstract

We introduce Geomstats, an open-source Python package for computations and statistics on nonlinear manifolds such as hyperbolic spaces, spaces of symmetric positive definite matrices, Lie groups of transformations, and many more. We provide object-oriented and extensively unit-tested implementations. Manifolds come equipped with families of Riemannian metrics with associated exponential and logarithmic maps, geodesics, and parallel transport. Statistics and learning algorithms provide methods for estimation, clustering, and dimension reduction on manifolds. All associated operations are vectorized for batch computation and provide support for different execution backends---namely NumPy, PyTorch, and TensorFlow. This paper presents the package, compares it with related libraries, and provides relevant code examples. We show that Geomstats provides reliable building blocks to both foster research in differential geometry and statistics and democratize the use of Riemannian geometry in machine learning applications. The source code is freely available under the MIT license at geomstats.ai.

Cite

Text

Miolane et al. "Geomstats:  A Python Package for Riemannian Geometry in Machine Learning." Machine Learning Open Source Software, 2020.

Markdown

[Miolane et al. "Geomstats:  A Python Package for Riemannian Geometry in Machine Learning." Machine Learning Open Source Software, 2020.](https://mlanthology.org/mloss/2020/miolane2020jmlr-geomstats/)

BibTeX

@article{miolane2020jmlr-geomstats,
  title     = {{Geomstats:  A Python Package for Riemannian Geometry in Machine Learning}},
  author    = {Miolane, Nina and Guigui, Nicolas and Le Brigant, Alice and Mathe, Johan and Hou, Benjamin and Thanwerdas, Yann and Heyder, Stefan and Peltre, Olivier and Koep, Niklas and Zaatiti, Hadi and Hajri, Hatem and Cabanes, Yann and Gerald, Thomas and Chauchat, Paul and Shewmake, Christian and Brooks, Daniel and Kainz, Bernhard and Donnat, Claire and Holmes, Susan and Pennec, Xavier},
  journal   = {Machine Learning Open Source Software},
  year      = {2020},
  pages     = {1-9},
  volume    = {21},
  url       = {https://mlanthology.org/mloss/2020/miolane2020jmlr-geomstats/}
}