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!

 채택된 답변

the cyclist
the cyclist 2021년 3월 18일

0 개 추천

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.

추가 답변 (0개)

제품

릴리스

R2021a

질문:

2021년 3월 18일

답변:

2021년 3월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by