the parameter sitting for K-mean in auto model for

Ammar_Almasri
Ammar_Almasri New Altair Community Member
edited November 5 in Community Q&A
when i do experimental on data set using K-means the cluster size never changes and center point as well. why they didnt change if they select ceroid randomly 

Answers

  • Telcontar120
    Telcontar120 New Altair Community Member
    It completely depends on the dataset characteristics.  Some datasets are "stable" in the sense that there is one clear solution for a k-means of a given size k, which will always converge to that solution.  Others are not, in which case rerunning the clustering algorithm can lead to different results.  
    You can try setting the local random seed to different numbers to see whether that makes a difference.  
  • Ammar_Almasri
    Ammar_Almasri New Altair Community Member
    Question about when I use default sitting the K-means++ will select a good start point for that cluster never changed