Questions tagged [gmm]

For questions about Gaussian mixture models (GMMs).

For questions about Gaussian mixture models (GMMs).

199 questions
0
votes
0 answers

Octave: "error: matrix cannot be indexed with . error: called from fitgmdist at line 486 column 14"

I am trying to use the Gaussian mixture model to cluster my data in octave. As a start, I am trying to fit the data to a Gaussian distribution using the fitgmdist function in octave. However, I am getting the following error: > (error: matrix cannot…
Amr Amer
  • 1
  • 2
0
votes
1 answer

Understanding variables from speech recognition paper in HMM-GMM

I am reading this paper by Mark Gales and Steve Young on speech recognition using HMM-GMM. In page 205, second paragraph, it is written: "For each utterance Y(r) , r = 1, . . . , R, of length T(r) the sequence of baseforms, the HMMs that correspond…
Naveen Gabriel
  • 679
  • 2
  • 9
  • 25
0
votes
1 answer

Can Logistic Normal distribution use mixture of Gaussian

In Topic Modeling can I use Logistic Normal distribution as a prior distribution and instead of a Gaussian distribution replace it with the Gaussian mixture component?
0
votes
1 answer

Improving classification by using clustering as a feature

I'm trying to improve my classification results by doing clustering and use the clustered data as another feature (or use it alone instead of all other features - not sure yet). So let's say that I'm using unsupervised algorithm - GMM: gmm =…
M_Z
  • 191
  • 1
  • 2
  • 12
0
votes
1 answer

pgmm function and gmm function in R

I have a very basic question regarding these two functions in R. When I try to do panel data analysis using generalised moment method, I realised that both gmm and pgmm are functions for this method. What is the difference between them? Should I use…
w12345678
  • 63
  • 6
0
votes
2 answers

Kmeans, GMM or any cluster algorithm but you can set a minimum number of datapoints any cluster should have?

Is there any clustering algorithm or method out there that you can set the minimum and maximum number of data points any cluster should have? Thank you!
0
votes
0 answers

Run a simple GMM with lag instruments in R

I have a simple example of GMM model I need to estimate. I'd appreciate if ssomeone can haelp cause I don't get my answer from GMM R document. assume I have a function g(teta,a,b)=0 and I need to estimate teta. g = (a-b)/2 - teta^2 * a + b^2 * teta…
Novic
  • 351
  • 1
  • 11
0
votes
0 answers

EM algorithm python on MNIST image data

I need to implement the EM algorithm for fitting a GMM on image data (pixels). The data was provided as a .mat file. The data is similar to the MNIST dataset. So it's a matrix of images with the shape 784 x 1990. There are 1990 images, and each…
zelda26
  • 489
  • 2
  • 10
  • 33
0
votes
1 answer

Moving to numerically stable log-sum-exp leads to extremely large loss values

I am working on a network that uses a LSTM along with MDNs to predict some distributions. The loss function I use for these MDNs involve trying to fit my target data to the predicted distributions. I am trying to compute the log-sum-exp for the…
0
votes
1 answer

Gaussian Mixture Model clustering in sparklyr

I'm trying to cluster my data using Gaussian Mixture Model in sparklyr: ml_gaussian_mixture(formula= ~ var1 + var2 + var3 + var4 + var5, k = 5) However, calling this function doesn't return a metric to evaluate the number of clusters as ml_kmeans()…
Egodym
  • 453
  • 1
  • 8
  • 23
0
votes
0 answers

Not Getting soft clustering using Gaussian Mixture Models

I want to perform soft clustering on text data and so I am using the Gaussian Mixture Model so that every text can belong to multiple clusters. I converted the text into columns using tfidf and then performed LSA for dimensionality reduction. I…
0
votes
0 answers

In Matlab, what does it mean to use GMM as a posterior distribution to make a supervised classifier inspired by GMM? Suggested by podludek and lejlot

I understand that GMM is not a classifier itself, but I am trying to follow the instructions of some users in this stack exchange post below to create a GMM-inspired classifier. lejlot: Multiclass classification using Gaussian Mixture Models with…
0
votes
1 answer

Draw density on top of histogram based on fitted GMM in R

I want to simply draw the density on top of my histogram plot, using the means, and variance estimated using a GMM. I've been trying to do it, but I've been unable to draw the densities. The y-axis are always different. This would be a toy…
GabrielMontenegro
  • 683
  • 1
  • 6
  • 21
0
votes
1 answer

How do i get percentage of probability of each GMM?

I trained GMM model using 2 classes. And I also tested some sample data from trained GMM model. Finally, I want to get a probability for each class's gmm. I used sklearn GaussianMixture function named predict_proba. But it shows in array. How can I…
sanghoon
  • 19
  • 3
0
votes
1 answer

Gaussain mixture Model _ Scikit Learn _ How to fit for single D data?

I have started working with GMM in Sklearn library. I have 1 D data like below np.random.seed(2) x = np.concatenate([np.random.normal(0, 2, 2000), np.random.normal(5, 5, 2000), np.random.normal(3, 0.5,…
Mari
  • 698
  • 1
  • 8
  • 27