Error in using fitgmdist
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I'm try to use fitgmdist to cluster high dimensional data with size of 96*879. Using
gmfit = fitgmdist(data,3,' CovarianceType','full','RegularizationValue',0.1);
Then error occurs:
X must have more rows than columns.
How can I fix this?
Thanks.
댓글 수: 0
답변 (1개)
Jorge
2016년 12월 28일
The number of colums in data (879) corresponds to the dimensionality of the data. The number of rows (96) is the number of observations.
You may need to transpose your data before using it.
댓글 수: 3
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!