k-means clustering, error

22 ビュー (過去 30 日間)
Radoslav Vandzura
Radoslav Vandzura 2015 年 12 月 3 日
回答済み: Ravi Injeti 2019 年 12 月 14 日
Hello All, I really need your help, your advice. I am trying to do clustering, I have mixed data and big dataset. From all datased I selected only some of them. I do k-means algorithm but error is shown on my command window. Could you advise me, where is bug?
Thank you very very much...

採用された回答

the cyclist
the cyclist 2015 年 12 月 3 日
What data type are you entering as the first argument to the kmeans command? According to the documentation, it has to be an n-by-p data matrix, but it looks like you have input a dataset instead.
  8 件のコメント
Radoslav Vandzura
Radoslav Vandzura 2015 年 12 月 4 日
Yes, you are right, I am newbie. Thank you for your time, help and advices. I really appreciate it. I will try use your recommendation.

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

その他の回答 (1 件)

Ravi Injeti
Ravi Injeti 2019 年 12 月 14 日
why dont you try to use
find(zeros(x),2))) instead any(isNan) beause it is a python function

Community Treasure Hunt

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

Start Hunting!

Translated by