AutoGMM
Automatic Gaussian Mixture Modeling in Python.
Install
pip install autogmm
Quick start
from autogmm import AutoGMM
from sklearn.datasets import make_blobs
X, _ = make_blobs(
n_samples=1000,
centers=4,
cluster_std=1.2,
random_state=0
)
labels = AutoGMM(
min_components=1,
max_components=10, # unknown K
criterion="bic",
random_state=0
).fit_predict(X)
Features
-
Initializations: KMeans, Ward–Euclidean, Ward–Mahalanobis
-
EM with eigenvalue flooring and covariance constraints (spherical, diag, tied, full)
-
Model selection via BIC/AIC (unknown K)
-
Optional spectral front-end (ASE/LSE) for nonconvex structure
-
Parallel evaluation, clean API, reproducible scripts
Documentation
- API & Guides: https://github.com/neurodata/autogmm/
- Examples: examples/ (benchmarks; stress tests; runtime scaling)
- Reproducibility: scripts/reproduce.sh (regenerates all figures with fixed seeds)
Legacy & Independence
AutoGMM was originally developed in the graspologic library. As of v1.0, it is a standalone package with no dependency on graspologic.
Contributing
Issues and PRs are welcome. See CONTRIBUTING.md.
Citation
@software{autogmm,
title = {AutoGMM: Automatic Gaussian Mixture Modeling in Python},
author = {Liu, Tingshan and Athey, Thomas L. and Pedigo, Benjamin D. and Vogelstein, Joshua T.},
year = {2025},
url = {https://github.com/neurodata/autogmm}
}
License
BSD 3-Clause License. See LICENSE.
Metadata
Release files for autogmm 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autogmm-0.1.0.tar.gz | 1.9 MB | With provenance | Details for autogmm-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autogmm-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for autogmm-0.1.0-py3-none-any.whl |
Total release size: 1.9 MB
Release files / autogmm-0.1.0.tar.gz
| Download URL | autogmm-0.1.0.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0586b741ea30a71281004205e552fea78a752e3fd85420844f37870ecd55d3bf
|
|
BLAKE2b-256 checksum How to use checksums |
19e9a518e84de84435bbae7e1de9ad85b5d5e8d30bad50e45b9d303938445bf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2025.
Transparency logRelease files / autogmm-0.1.0-py3-none-any.whl
| Download URL | autogmm-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c58f4fa256fca3ebee799e94cfa4375c417724290581179c7963837caebd5697
|
|
BLAKE2b-256 checksum How to use checksums |
5bb6d8e92c04e20321ef501286cb0d2473abb0d271587e396e0f6d38d1c1973a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2025.
Transparency logSecurity for autogmm 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for autogmm-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.