I have a matrix of 38-by-50 which represents 38 sample and 50 genes reading. I need to cluster this data matrix using Gaussian mixture model. Please, how can I fit this data with GMM by using gmdistribution? Thanks

답변 (1개)

Shashank Prasanna
Shashank Prasanna 2013년 11월 11일

0 개 추천

That's a very small dataset. Do you know how many clusters are there? Did you try:
n = numbers_of_clusters
obj = gmdistribution.fit(X,n)
Use the examples from the documentation:

댓글 수: 3

Ahmed Alabdaly
Ahmed Alabdaly 2013년 11월 11일
Shashank,many thanks for your answer but I think there is a misunderstanding to my question. In this example, we produce the data from the values of (mu,sigma) but in my case I have these data which is 38-by-50 matrix. I couldn't apply the function gmdistribution.fit(X,K) unless for k=1! I want to cluster this matrix by using Gaussian mixture model. Thanks
Marc
Marc 2013년 11월 12일
No you misunderstood I think... 38 experiments with 50 data points is a small data set. The stats toolbox will suffice just fine. Show some data and code where you are having some issues and maybe we can help.
Ahmed Alabdaly
Ahmed Alabdaly 2013년 12월 2일
Thanks, I've attached the data file. I've used the code obj=gmdistriution.fit(X,2) but there is error, in case of n=1 its ok but only one cluster can I get.

댓글을 달려면 로그인하십시오.

질문:

2013년 11월 11일

댓글:

2013년 12월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by