Questions tagged [gmm]
For questions about Gaussian mixture models (GMMs).
198
questions
1
vote
0
answers
13
views
GMM in R using sampling weights
I want to perform GMM in R and specify sampling weights but I do not know how to do it. I am using gmm from gmm package and all weight options are about weighting matrix of GMM estimation. Can you ...
1
vote
1
answer
50
views
Expression causes error "requires numeric/complex matrix/vector arguments" with GMM library
I am trying to estimate a model with the GMM library from R. However, when I run my code I am getting the error "requires numeric/complex matrix/vector arguments". I converted my Data Frame ...
0
votes
0
answers
24
views
How to Show "Fuzziness" in Fuzzy Clustering Python
I have a normally distributed 2D dataset, and I am using the GMM library. I am able to plot the clusters with the red point indicated the cluster center. However, I need to show a gradient similar to ...
0
votes
0
answers
14
views
How to train GMM-HM to create an acoustic model in speech recognition
I want to understand how the GMM-HMM acoustic model is trained, which can output a sequence of phonemes from an input audio recording containing speech. If you look at the training datasets (for ...
0
votes
0
answers
28
views
Correct implementation of GMM-HMM for Speech Recognition
For N words, we have N HMMs. In each of the HMMs, the states are the GMMs. Each GMM models unique phoneme (with or without belonging to a particular context). It is these HMMs (words) that constitute ...
0
votes
0
answers
44
views
pgmm and pvargmm producing different results in GMM estimations
I'm trying to estimate a GMM model. I tried both the pgmm function from the plm package and the pvargmm function from the panelvar package. For some reason, the two packages do not generate the same ...
0
votes
0
answers
25
views
Checking and accounting for autocorrelation in lcmm package R
I need to check for autocorrelation and if in existence account for such in a Latent Class Mixture Model fitted using the lcmm package in R.
I have fit a latent class mixture model on some population ...
0
votes
0
answers
42
views
Getting probability values much higher while fitting the GMM using sklearn
I am trying to fit the GMM to my data which are in 2d , they are small values around 0.002342(like this) so while fitting the GMM , I am getting some probability values very high , below is the code ...
0
votes
1
answer
106
views
How to make GMM tests appear in stargazer?
I am doing a lot of GMM regressions and need to report all tests. I'm using plm and stargazer package for this.
However, stargazer does not provide this tests directly, so I wrote a long code to add ...
0
votes
0
answers
33
views
Serial correlation test in panelvar package in R
I am using the pvargmm function from the panelvar package developed by Sigmund and Ferstl to estimate a GMM model. As far as I could see from the package's PDF file, there is not a built-in function ...
2
votes
0
answers
117
views
Number of instruments used in GMM model (pgmm function in R)
I performed a GMM (Generalized Methods of Moments) analysis in R using the pgmm package.
I included additional external variables in my model. However, since the model also uses internal instruments (...
0
votes
0
answers
85
views
PGMM / GMM Calculation in R
I want to calculate a GMM model in R.
To understand the formula (pgmm) better, I tried to run an example:
data("EmplUK", package = "plm")
ar <- pgmm(log(emp) ~ lag(log(emp), 1:2)...
0
votes
0
answers
50
views
Plot Gaussian Mixture Model with MATLAB
I have a Gaussian Mixture Model (GMM) from image data
ans =
I: 1
K: 5
D: 2
Rmin: 2.5000e-04
cluster: [1x5 struct]
...
0
votes
1
answer
427
views
Sklearn Gaussian Mixture predict_proba: difficulties to understand resulting probabilities
We have two two-dimensional, well separable clusters as seen in the figure below:
Running on that dataset sklearns GMM:
import numpy as np
from sklearn.mixture import GaussianMixture
gm = ...
0
votes
1
answer
183
views
How to manually define intial parameters for scikit GMM
I am using scikit's General Mixture Model to fit some data, but I would like to define the initial centroids of each cluster manually.
The scikit learn documentation states:
There is a choice of four ...