Hello,
I am using Gaussian Mixture Model to separate my data into 2 clusters, let's say "high" and "low". I have different files. It says here that "If you cluster several fitted gmdistribution models, cluster can assign different cluster labels for similar components.". My question is: Is there a way to always get Cluster1 to be "high" and Cluster2 to be "low", for all the data? In other words, how can I get similar cluster labels for similar components?
Thanks!

 Respuesta aceptada

the cyclist
the cyclist el 18 de Mzo. de 2021

0 votos

I think you'll need a bit of programming to do that. Specifically, fitgmdist will output a model object, and the model object will have the gaussian means as properties. You'll need to find which one is larger, and label your clusters accordingly. I don't think you can rely on MATLAB to report the means in a particular order.

Más respuestas (0)

Productos

Versión

R2021a

Preguntada:

el 18 de Mzo. de 2021

Respondida:

el 18 de Mzo. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by