gmr
Gaussian Mixture Regression
Decision gist · record as of 2026-08-14
Yes, if you need probabilistic regression or conditional prediction on multivariate data. The package is stable, well-documented, has no known vulnerabilities, and low install friction. The aging maintenance status (214 days since release) is not a blocker for a mature library, but verify that the release cadence matches your support expectations. Best suited for research, robotics, and scientific computing workflows where mixture models are standard.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction installation with only numpy and scipy as runtime dependencies.
- Package is aging (214 days since last release) but repository remains active and supported across modern Python versions.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause (permissive) license allows commercial and private use with minimal restrictions, requiring only license and copyright notice preservation.
last release 2026-01-12 (214 days) · last repo commit 2026-01-12 · 201 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 110,553 downloads/mo, #12,452 on PyPI
Alternatives
Verify before relying
pip install gmr
import numpy as np
from gmr import GMM
X = np.random.randn(100, 2)
gmm = GMM(n_components=3, random_state=0)
gmm.from_samples(X)
X_sampled = gmm.sample(100)
x1 = np.random.randn(20, 1)
x2_predicted = gmm.predict([0], x1)- Whether the aging maintenance status (214 days since release) indicates planned long-term support or gradual deprecation.
- Performance characteristics and scalability limits for high-dimensional data or large sample counts.
- Comparison of prediction accuracy and speed against current scikit-learn GaussianMixture for regression tasks.
What it is and what it does
gmr is a Python library implementing Gaussian Mixture Models for both clustering and regression tasks. It provides a GMM class that fits mixture models to data via expectation-maximization, samples from the learned distribution, and makes conditional predictions given partial observations. The core use case is probabilistic regression: given values for some features, predict the distribution over remaining features.
The package depends only on numpy and scipy, making it lightweight to install. It complements scikit-learn's GaussianMixture (which focuses on clustering) by adding regression capability through conditional probability estimation. Models can be saved via pickle or by extracting and storing the learned priors, means, and covariances for interoperability with other GMM implementations.
Use it for
- Fit a mixture model to training data and sample new synthetic examples from the learned distribution.
- Predict missing feature values given observed features, with uncertainty estimates from the posterior distribution.
- Initialize a gmr GMM from a scikit-learn GaussianMixture for regression tasks not supported by sklearn.
- Generate trajectory data by sampling from a learned mixture model conditioned on time or state variables.
- Model multimodal relationships in data where a single linear or nonlinear regression would be inadequate.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need probabilistic regression or conditional prediction on multivariate data.
The package is stable, well-documented, has no known vulnerabilities, and low install friction. The aging maintenance status (214 days since release) is not a blocker for a mature library, but verify that the release cadence matches your support expectations. Best suited for research, robotics, and scientific computing workflows where mixture models are standard.
Install
gmr on PyPI
Before you install
Low friction installation with only numpy and scipy as runtime dependencies. Package is aging (214 days since last release) but repository remains active and supported across modern Python versions.
License in practice
BSD-3-Clause (permissive) license allows commercial and private use with minimal restrictions, requiring only license and copyright notice preservation.
Quickstart
pip install gmr
import numpy as np
from gmr import GMM
X = np.random.randn(100, 2)
gmm = GMM(n_components=3, random_state=0)
gmm.from_samples(X)
X_sampled = gmm.sample(100)
x1 = np.random.randn(20, 1)
x2_predicted = gmm.predict([0], x1)
Verify before relying
- Whether the aging maintenance status (214 days since release) indicates planned long-term support or gradual deprecation.
- Performance characteristics and scalability limits for high-dimensional data or large sample counts.
- Comparison of prediction accuracy and speed against current scikit-learn GaussianMixture for regression tasks.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=2.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesnumpyscipy |
| Maintenance | Aging 214 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 110,553 / month, #12,452 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Software Development |
Evidence: gmr-2.0.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “gaussian mixture models”
- gmrGaussian Mixture Models for clustering and regression, providing…
- pgmpypgmpy provides data structures and algorithms for causal discovery,…
- gsplatgsplat is a CUDA-accelerated Python library for rasterizing 3D…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also spglm · kmodes · statsmodels · scikit-learn · mgwr · pyriemann · SALib · corner · quantile-forest · linearmodels