kmeans on 3d data

조회 수: 9 (최근 30일)
Vaishali Nagpure
Vaishali Nagpure 2019년 11월 27일
댓글: Vaishali Nagpure 2019년 11월 30일
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
Image Analyst 2019년 11월 27일
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
Image Analyst
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
Vaishali Nagpure 2019년 11월 30일
There are no 3 columns. Data is 24*2 matrix. So 24 rows and two columns. rows are hours. So 24 hours. First column is mean. Second column is coefficient of variance(cv). So 24*2 data represent data as: 24 hours mean and cv.
This data is for 705 frequencies. So 24*2*705 data. For each frequency 24*2 data.
Regards
Vaishali

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


Vaishali Nagpure
Vaishali Nagpure 2019년 11월 27일
Please find my data.
Regards
Vaishali

Community Treasure Hunt

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

Start Hunting!

Translated by