← Open Source
ldeecke

gmm-torch

Gaussian mixture models in PyTorch.

Model DevelopmentClassical MLPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
585
Stars
89
Forks
+0
This week
4
Contributors
Created 2018-06-13 · Updated 2026-09-19 · #16551 today
Top developers
ldeeckeluyvleifubel

ldeecke/gmm-torch is ranked 16,551 with 585 stars.

Same-category comparison

ldeecke/gmm-torch is ranked 16,551 among these 8 peers; swook/GazeML is ranked 16,556.

Same-category comparison
NameRankMetrics
alegonz/baikal16,530
Language:
Python
Stars:
586
Forks:
29
Description:
A graph-based functional API for building complex scikit-learn pipelines.
kyegomez/RT-216,538
Language:
Python
Stars:
586
Forks:
66
Description:
Democratization of RT-2 "RT-2: New model translates vision and language into action".
taishan1994/pytorch_bert_bilstm_crf_ner16,541
Language:
Python
Stars:
586
Forks:
82
IDEA-Research/DAB-DETR16,544
Language:
Jupyter Notebook
Stars:
585
Forks:
96
Description:
[ICLR 2022] Official implementation of the paper "DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR".
swook/GazeML16,556
Language:
Python
Stars:
585
Forks:
145
Description:
Gaze Estimation using Deep Learning, a Tensorflow-based framework.
szagoruyko/functional-zoo16,557
Language:
Jupyter Notebook
Stars:
585
Forks:
92
Description:
PyTorch and Tensorflow functional model definitions.
ScalaConsultants/Aspect-Based-Sentiment-Analysis16,565
Language:
Python
Stars:
584
Forks:
94
Description:
💭 Aspect-Based-Sentiment-Analysis: Transformer & Explainable ML (TensorFlow).
abides-sim/abides16,567
Language:
Python
Stars:
584
Forks:
166
Description:
ABIDES: Agent-Based Interactive Discrete Event Simulation.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryClassical ML
Stars585
Forks89
Contributors4
Created date2018-06-13
Updated date2026-09-19
Stars in 1 day0
Stars in 7 days0
Rank16,551
Previous rank16,337
Rank change-214
7-day stars rank15,591
Previous 7-day stars rank15,603
7-day stars rank change12
Total stars rank17,125
Previous total stars rank17,094
Total stars rank change-31
CountryUK
README summary

This repository contains an implementation of a simple **Gaussian mixture model** (GMM) fitted with Expectation-Maximization in pytorch. The interface closely follows that of sklearn. Note that once instantiated, the model expects tensors in a flattened shape . The first step would usually be to fit the model via , then predict with . To reproduce the above figure, just run the provided . Some sanity checks can be executed by calling . To fit data on GPUs, ensure that you first call .

Frequently asked questions

How many stars and forks are recorded?

ldeecke/gmm-torch has 585 stars and 89 forks.

What is the repository rank?

ldeecke/gmm-torch is ranked 16,551.

What language and category are recorded?

ldeecke/gmm-torch has 585 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

ldeecke/gmm-torch is compared with swook/GazeML, ranked 16,556 with 585 stars.

README

This repository contains an implementation of a simple Gaussian mixture model (GMM) fitted with Expectation-Maximization in pytorch. The interface closely follows that of sklearn.


A new model is instantiated by calling gmm.GaussianMixture(..) and providing as arguments the number of components, as well as the tensor dimension. Note that once instantiated, the model expects tensors in a flattened shape (n, d).

The first step would usually be to fit the model via model.fit(data), then predict with model.predict(data). To reproduce the above figure, just run the provided example.py.

Some sanity checks can be executed by calling python test.py. To fit data on GPUs, ensure that you first call model.cuda().

Nearby in the ranking
Similar items