panel data cluster with multiple index

Hi everyone, thank you for noticing this question.I got a panel data with 3 index with which I hope to do a cluster analysis using kmeans or hierarchical clustering.Please show or share me with code,thank you very much.

1 件のコメント

Image Analyst
Image Analyst 2022 年 1 月 3 日
編集済み: Image Analyst 2022 年 1 月 3 日
You first. Using kmeans() is trivial
[predictedClassIndexes, classCentroids] = kmeans(data);
so show us your data and your call to kmeans() after reading this link:
In the meantime, some kmeans() demos of mine are attached.

サインインしてコメントする。

回答 (0 件)

質問済み:

2022 年 1 月 3 日

編集済み:

2022 年 1 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by