Automatic Gaussian Mixture Modeling in Python
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autogmm-0.1.0.tar.gz.
File metadata
- Download URL: autogmm-0.1.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0586b741ea30a71281004205e552fea78a752e3fd85420844f37870ecd55d3bf
|
|
| MD5 |
c93aac0691094bf5526bf4b7a3e7b9ac
|
|
| BLAKE2b-256 |
19e9a518e84de84435bbae7e1de9ad85b5d5e8d30bad50e45b9d303938445bf0
|
Provenance
The following attestation bundles were made for autogmm-0.1.0.tar.gz:
Publisher:
release.yml on neurodata/autogmm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autogmm-0.1.0.tar.gz -
Subject digest:
0586b741ea30a71281004205e552fea78a752e3fd85420844f37870ecd55d3bf - Sigstore transparency entry: 513037286
- Sigstore integration time:
-
Permalink:
neurodata/autogmm@85fdad645db6bbe5214e2c3117b7bfe6c3171d91 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/neurodata
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@85fdad645db6bbe5214e2c3117b7bfe6c3171d91 -
Trigger Event:
push
-
Statement type:
File details
Details for the file autogmm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: autogmm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c58f4fa256fca3ebee799e94cfa4375c417724290581179c7963837caebd5697
|
|
| MD5 |
4fbdfb913ae17684779a7eb7cd59152c
|
|
| BLAKE2b-256 |
5bb6d8e92c04e20321ef501286cb0d2473abb0d271587e396e0f6d38d1c1973a
|
Provenance
The following attestation bundles were made for autogmm-0.1.0-py3-none-any.whl:
Publisher:
release.yml on neurodata/autogmm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autogmm-0.1.0-py3-none-any.whl -
Subject digest:
c58f4fa256fca3ebee799e94cfa4375c417724290581179c7963837caebd5697 - Sigstore transparency entry: 513037293
- Sigstore integration time:
-
Permalink:
neurodata/autogmm@85fdad645db6bbe5214e2c3117b7bfe6c3171d91 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/neurodata
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@85fdad645db6bbe5214e2c3117b7bfe6c3171d91 -
Trigger Event:
push
-
Statement type: