How to initialize the parameter mu to zero of a Gaussian Mixture model ?
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (1)
Richard Marveldoss
el 12 de Jul. de 2017
0 votos
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
Categorías
Más información sobre Gaussian Mixture Models en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!