0

I have a data which is looks like

(0 1 0 1 0 0 1 1 1) (1 0 0 0 0 0 1 1 0 ) (1 0 0 0 0 0 1 1 1 )

the real data is 150*180 matrix. I want to use K-means method but don't know how to find optimal k. In some cases symbols "1" are grouped. Could someone please tell me how to find optimal k? Thank you

1 Answers1

0

Optimal k is square root of number of data points but it will depend on your data set, a rule of thumb is also square root of half number of data points, see wiki and similar question here

Community
  • 1
  • 1
EdChum
  • 376,765
  • 198
  • 813
  • 562