├── .gitignore ├── .readthedocs.yaml ├── LICENSE ├── README.md ├── TODO.md ├── bregman ├── __init__.py ├── application │ ├── __init__.py │ ├── application.py │ ├── distribution │ │ ├── __init__.py │ │ ├── distribution.py │ │ ├── exponential_family │ │ │ ├── __init__.py │ │ │ ├── categorical │ │ │ │ ├── __init__.py │ │ │ │ └── categorical.py │ │ │ ├── exp_family.py │ │ │ ├── gaussian │ │ │ │ ├── __init__.py │ │ │ │ ├── dissimilarity.py │ │ │ │ ├── gaussian.py │ │ │ │ └── geodesic.py │ │ │ └── multinomial │ │ │ │ ├── __init__.py │ │ │ │ ├── dissimilarity.py │ │ │ │ ├── geodesic.py │ │ │ │ └── multinomial.py │ │ └── mixture │ │ │ ├── __init__.py │ │ │ ├── discrete_mixture │ │ │ ├── __init__.py │ │ │ └── discrete_mixture.py │ │ │ ├── ef_mixture │ │ │ ├── __init__.py │ │ │ └── ef_mixture.py │ │ │ └── mixture.py │ └── psd │ │ ├── __init__.py │ │ └── psd.py ├── ball │ ├── __init__.py │ ├── base.py │ ├── bregman.py │ └── parameterized.py ├── barycenter │ ├── __init__.py │ ├── base.py │ └── bregman.py ├── base.py ├── constants.py ├── dissimilarity │ ├── __init__.py │ ├── base.py │ └── bregman.py ├── manifold │ ├── __init__.py │ ├── bisector.py │ ├── connection.py │ ├── coordinate.py │ ├── generator.py │ ├── geodesic.py │ └── manifold.py ├── object │ ├── __init__.py │ └── distribution.py └── visualizer │ ├── __init__.py │ ├── matplotlib │ ├── __init__.py │ ├── callback.py │ └── matplotlib.py │ └── visualizer.py ├── docs ├── Makefile ├── make.bat ├── requirements.txt └── source │ ├── bregman.application.distribution.exponential_family.categorical.rst │ ├── bregman.application.distribution.exponential_family.gaussian.rst │ ├── bregman.application.distribution.exponential_family.multinomial.rst │ ├── bregman.application.distribution.exponential_family.rst │ ├── bregman.application.distribution.mixture.discrete_mixture.rst │ ├── bregman.application.distribution.mixture.ef_mixture.rst │ ├── bregman.application.distribution.mixture.rst │ ├── bregman.application.distribution.rst │ ├── bregman.application.psd.rst │ ├── bregman.application.rst │ ├── bregman.ball.rst │ ├── bregman.barycenter.rst │ ├── bregman.dissimilarity.rst │ ├── bregman.manifold.rst │ ├── bregman.object.rst │ ├── bregman.rst │ ├── bregman.visualizer.matplotlib.rst │ ├── bregman.visualizer.rst │ ├── conf.py │ └── index.rst ├── examples ├── ahm.py ├── ahm_psd.py ├── bball.py ├── centroids.py ├── chernoff.py ├── histogram_centroid.py ├── logo.py ├── psd.py └── soft_cluster.py ├── img ├── centroid_example.png ├── coco_1.jpg ├── coco_2.jpg └── pyBregMan-LogoDoc.png ├── pyproject.toml └── tests └── test_bregman_divergence.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/TODO.md -------------------------------------------------------------------------------- /bregman/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bregman/application/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bregman/application/application.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/application.py -------------------------------------------------------------------------------- /bregman/application/distribution/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bregman/application/distribution/distribution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/distribution.py -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/categorical/__init__.py: -------------------------------------------------------------------------------- 1 | from .categorical import * 2 | -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/categorical/categorical.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/exponential_family/categorical/categorical.py -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/exp_family.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/exponential_family/exp_family.py -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/gaussian/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/exponential_family/gaussian/__init__.py -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/gaussian/dissimilarity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/exponential_family/gaussian/dissimilarity.py -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/gaussian/gaussian.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/exponential_family/gaussian/gaussian.py -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/gaussian/geodesic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/exponential_family/gaussian/geodesic.py -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/multinomial/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/exponential_family/multinomial/__init__.py -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/multinomial/dissimilarity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/exponential_family/multinomial/dissimilarity.py -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/multinomial/geodesic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/exponential_family/multinomial/geodesic.py -------------------------------------------------------------------------------- /bregman/application/distribution/exponential_family/multinomial/multinomial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/exponential_family/multinomial/multinomial.py -------------------------------------------------------------------------------- /bregman/application/distribution/mixture/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bregman/application/distribution/mixture/discrete_mixture/__init__.py: -------------------------------------------------------------------------------- 1 | from .discrete_mixture import * 2 | -------------------------------------------------------------------------------- /bregman/application/distribution/mixture/discrete_mixture/discrete_mixture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/mixture/discrete_mixture/discrete_mixture.py -------------------------------------------------------------------------------- /bregman/application/distribution/mixture/ef_mixture/__init__.py: -------------------------------------------------------------------------------- 1 | from .ef_mixture import * 2 | -------------------------------------------------------------------------------- /bregman/application/distribution/mixture/ef_mixture/ef_mixture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/mixture/ef_mixture/ef_mixture.py -------------------------------------------------------------------------------- /bregman/application/distribution/mixture/mixture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/distribution/mixture/mixture.py -------------------------------------------------------------------------------- /bregman/application/psd/__init__.py: -------------------------------------------------------------------------------- 1 | from .psd import * 2 | -------------------------------------------------------------------------------- /bregman/application/psd/psd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/application/psd/psd.py -------------------------------------------------------------------------------- /bregman/ball/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bregman/ball/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/ball/base.py -------------------------------------------------------------------------------- /bregman/ball/bregman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/ball/bregman.py -------------------------------------------------------------------------------- /bregman/ball/parameterized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/ball/parameterized.py -------------------------------------------------------------------------------- /bregman/barycenter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bregman/barycenter/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/barycenter/base.py -------------------------------------------------------------------------------- /bregman/barycenter/bregman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/barycenter/bregman.py -------------------------------------------------------------------------------- /bregman/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/base.py -------------------------------------------------------------------------------- /bregman/constants.py: -------------------------------------------------------------------------------- 1 | EPS = 1e-5 2 | -------------------------------------------------------------------------------- /bregman/dissimilarity/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bregman/dissimilarity/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/dissimilarity/base.py -------------------------------------------------------------------------------- /bregman/dissimilarity/bregman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/dissimilarity/bregman.py -------------------------------------------------------------------------------- /bregman/manifold/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bregman/manifold/bisector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/manifold/bisector.py -------------------------------------------------------------------------------- /bregman/manifold/connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/manifold/connection.py -------------------------------------------------------------------------------- /bregman/manifold/coordinate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/manifold/coordinate.py -------------------------------------------------------------------------------- /bregman/manifold/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/manifold/generator.py -------------------------------------------------------------------------------- /bregman/manifold/geodesic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/manifold/geodesic.py -------------------------------------------------------------------------------- /bregman/manifold/manifold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/manifold/manifold.py -------------------------------------------------------------------------------- /bregman/object/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bregman/object/distribution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/object/distribution.py -------------------------------------------------------------------------------- /bregman/visualizer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bregman/visualizer/matplotlib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/visualizer/matplotlib/__init__.py -------------------------------------------------------------------------------- /bregman/visualizer/matplotlib/callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/visualizer/matplotlib/callback.py -------------------------------------------------------------------------------- /bregman/visualizer/matplotlib/matplotlib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/visualizer/matplotlib/matplotlib.py -------------------------------------------------------------------------------- /bregman/visualizer/visualizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/bregman/visualizer/visualizer.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/source/bregman.application.distribution.exponential_family.categorical.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.application.distribution.exponential_family.categorical.rst -------------------------------------------------------------------------------- /docs/source/bregman.application.distribution.exponential_family.gaussian.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.application.distribution.exponential_family.gaussian.rst -------------------------------------------------------------------------------- /docs/source/bregman.application.distribution.exponential_family.multinomial.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.application.distribution.exponential_family.multinomial.rst -------------------------------------------------------------------------------- /docs/source/bregman.application.distribution.exponential_family.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.application.distribution.exponential_family.rst -------------------------------------------------------------------------------- /docs/source/bregman.application.distribution.mixture.discrete_mixture.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.application.distribution.mixture.discrete_mixture.rst -------------------------------------------------------------------------------- /docs/source/bregman.application.distribution.mixture.ef_mixture.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.application.distribution.mixture.ef_mixture.rst -------------------------------------------------------------------------------- /docs/source/bregman.application.distribution.mixture.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.application.distribution.mixture.rst -------------------------------------------------------------------------------- /docs/source/bregman.application.distribution.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.application.distribution.rst -------------------------------------------------------------------------------- /docs/source/bregman.application.psd.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.application.psd.rst -------------------------------------------------------------------------------- /docs/source/bregman.application.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.application.rst -------------------------------------------------------------------------------- /docs/source/bregman.ball.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.ball.rst -------------------------------------------------------------------------------- /docs/source/bregman.barycenter.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.barycenter.rst -------------------------------------------------------------------------------- /docs/source/bregman.dissimilarity.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.dissimilarity.rst -------------------------------------------------------------------------------- /docs/source/bregman.manifold.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.manifold.rst -------------------------------------------------------------------------------- /docs/source/bregman.object.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.object.rst -------------------------------------------------------------------------------- /docs/source/bregman.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.rst -------------------------------------------------------------------------------- /docs/source/bregman.visualizer.matplotlib.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.visualizer.matplotlib.rst -------------------------------------------------------------------------------- /docs/source/bregman.visualizer.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/bregman.visualizer.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /examples/ahm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/examples/ahm.py -------------------------------------------------------------------------------- /examples/ahm_psd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/examples/ahm_psd.py -------------------------------------------------------------------------------- /examples/bball.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/examples/bball.py -------------------------------------------------------------------------------- /examples/centroids.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/examples/centroids.py -------------------------------------------------------------------------------- /examples/chernoff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/examples/chernoff.py -------------------------------------------------------------------------------- /examples/histogram_centroid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/examples/histogram_centroid.py -------------------------------------------------------------------------------- /examples/logo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/examples/logo.py -------------------------------------------------------------------------------- /examples/psd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/examples/psd.py -------------------------------------------------------------------------------- /examples/soft_cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/examples/soft_cluster.py -------------------------------------------------------------------------------- /img/centroid_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/img/centroid_example.png -------------------------------------------------------------------------------- /img/coco_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/img/coco_1.jpg -------------------------------------------------------------------------------- /img/coco_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/img/coco_2.jpg -------------------------------------------------------------------------------- /img/pyBregMan-LogoDoc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/img/pyBregMan-LogoDoc.png -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/test_bregman_divergence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexandersoen/pyBregMan/HEAD/tests/test_bregman_divergence.py --------------------------------------------------------------------------------