kmeans on 3d data
이전 댓글 표시
Hi,
I have 3d data with 24*2*705 matrix. i would like to do k-means clustering on this data.
I am not able to run kmeans command as it is showing error as "Transpose data into column orientation".
I tried with permute but not working.
Can anybody help on how to handle 3d data for kmeans clustering.
Regards
Vaishali
답변 (2개)
Image Analyst
2019년 11월 27일
0 개 추천
So, did you transpose it like it suggested? It wants 3 columns and N rows, not 3 rows and N columns like you have. Attach your data if you need any more help.
댓글 수: 5
Vaishali Nagpure
2019년 11월 29일
Image Analyst
2019년 11월 29일
I just read it in but I don't know how to interpret this data. What do each of the 3 dimensions represent, (x,y,z)? What does the value at that location, at data3d(index1, index2, index3), represent?
Vaishali Nagpure
2019년 11월 30일
Image Analyst
2019년 11월 30일
But the data is not in a 2-Dimensional N rows-by-3 columns matrix. It's a 3-D array. So there are not 3 columns like you said. Please try to explain again.
Vaishali Nagpure
2019년 11월 30일
카테고리
도움말 센터 및 File Exchange에서 k-Means and k-Medoids Clustering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!