How to initialize the parameter mu to zero of a Gaussian Mixture model ?
Afficher commentaires plus anciens
X = mat_cell;
[counts,binLocations] = imhist(X);
stem(binLocations, counts, 'MarkerSize', 1 );
xlim([-1 1]);
% inital kmeans step used to initialize EM
K = 2; % number of mixtures/clusters
rng('default');
cInd = kmeans(X(:), K,'MaxIter', 75536);
% fit a GMM model
options = statset('MaxIter', 75536);
gmm = fitgmdist(X(:), K,'Start',cInd,'CovarianceType','diagonal','Regularize',1e-5,'Options',options);
Here X is the input matrix and I would like to initialize only the sigma parameter of the GMM to zero. How can i proceed?
Réponse acceptée
Plus de réponses (1)
Richard Marveldoss
le 12 Juil 2017
0 votes
For a multivariate Gaussian distribution, the manner in which you construct your input datasets will vary. For example ,the below documentation contains a example where a dataset is generated using two bivariate Gaussian distribution. https://www.mathworks.com/help/stats/fitgmdist.html#examples
Catégories
En savoir plus sur Gaussian Mixture Models dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!