Clear Filters
Clear Filters

How can I fit data into Gaussian model?

2 views (last 30 days)
Ahmed Alabdaly
Ahmed Alabdaly on 11 Nov 2013
Commented: Ahmed Alabdaly on 2 Dec 2013
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

Answers (1)

Shashank Prasanna
Shashank Prasanna on 11 Nov 2013
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 Comments
Marc
Marc on 12 Nov 2013
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 on 2 Dec 2013
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!