Skip to main content

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

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)

Source distribution for autogmm 0.1.0
File Size Uploaded
autogmm-0.1.0.tar.gz 1.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for autogmm 0.1.0
File Interpreter ABI Platform
autogmm-0.1.0-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page