Questions tagged [gaussian-mixture-model]

35 questions
3
votes
1 answer

How to calculate the Fisher information matrix in Gaussian Mixture model with R

For the Gaussian Mixture model with k components: Fisher information matrix is given by, How do I calculate the Fisher Information Matrix? Is there an R function available for this calculation?
Débora
  • 5,816
  • 28
  • 99
  • 171
2
votes
0 answers

sketching a Gaussian Mixture plot

So basically I have these points and weights and covariance matrices and 1st mean=x1 and 2nd mean=x2. What I am trying to do is to plot the clusters of that Gaussian distribution with ellipses around the clusters, but for some reason I think the…
1
vote
0 answers

combine gaussian mixture models

I'd like to combine gaussian mixture models (GMMs) without using the underlying input values for the models (because I don't want to save all the values). I had two ideas: Get weights, means and covariances from both GMMs, combine them (and weight…
Jawis
  • 25
  • 4
1
vote
1 answer

How to fit multiple gaussians on one plot?

I'm interested in fitting multiple Gaussian curves to the plot below in python. I need to be able to determine the mean of each gaussian to be able to estimate what 1 photoelectron corresponds to for a signal reading device that took this data. I…
1
vote
0 answers

How to use Gaussian Mixture Model (GMM) for peak decomposition?

I have generated some data points as a linear mixture of three 1D bell shape Gaussian distributions with different parameters (mean and variance) using following code: import matplotlib.pyplot as plt import numpy as np from scipy import stats import…
1
vote
1 answer

Parametric estimation of a Gaussian Mixture Model

I am trying to train a model to estimate a GMM. However, the means of the GMM are calculated each time based on a mean_placement parameter. I am following the solution provided here, I'll copy and paste the original code: import numpy as np import…
Saam
  • 385
  • 1
  • 3
  • 12
1
vote
0 answers

Is there a way to sample from a value range in a GuassianMixture Model in python

I am using the sklearn GaussianMixture library. I got my GMM which is working fine, now I would like to sample from it. According to the docs I can use the model.sample(n) function to get n samples. This works, however I would like to sample, based…
1
vote
0 answers

How to implement gaussian mixture models to classify each image pixel as one of the ROYGBIV colors?

Goal: implement gaussian mixture models (GMMs) to classify each image pixel as one of the ROYGBIV colors by replicating the steps described in this project: https://github.com/srane96/Underwater-Buoy-Detection-Using-Gaussian-Mixture-Models I am new…
1
vote
1 answer

Is there a way to calculate standard deviation and median for the models fitted using sklearn.mixture.GaussianMixture

There is a method to return means of all the guassian components generated but I couldn't find any to get the standard deviations and the means. Also, the means do not have any error component associated to them. from scipy.stats import…
darthV
  • 355
  • 1
  • 3
  • 16
1
vote
0 answers

Python Pandas: How to determine a 'cycle' as well as its peaks

Using the following snippet from my data below: Data =…
1
vote
1 answer

Difference between number of states and number of mixtures in Gaussian Mixture Model?

I am using the GMMHMM library and I can not figure out the difference between n_components : Number of states in the model. n_mix : Number of states in the GMM.
0
votes
0 answers

Fitting a Gaussian Mixture Model with known share of noise/outliers

Question was moved to stats.stackexchange A Gaussian Mixture model is fitted by the Expectation-Maximization algorithm. This fairly simple algorithm consists of two steps and the initialization. Initialization (for k=2 Gaussians) Find (or guess) an…
0
votes
0 answers

Troubleshooting SkLearn's Gaussian Mixture for clustering straight lines

I'm learning Scikit Learn on Python, but I have problems in clustering data in straight lines. I am using the datasauRus dozen dataset. import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn.mixture import…
0
votes
1 answer

Generating means from bivariate gaussian distribution

I am reading the book "The elements of statistical learning" Ch 2 and on page 16 there is this line - 'First we generate 10 means m_k from a bivariate gaussian distribution N((1,0),I) and labelled BLUE. Similarly, 10 more were drawn from N((0,1),I)…
0
votes
0 answers

Finding Gaussian Mixture Model parameters of colored clusters in pointcloud

I am trying to find the Gaussian Mixture Model parameters of each colored cluster in the pointcloud shown below. I understand I can print out the GMM means and covariances of each cluster in the pointcloud, but when I visualize it, the clusters each…
1
2 3