I am running k-means clustering in R on a dataset with 636,688 rows and 7 columns using the standard stats
package: kmeans(dataset, centers = 100, nstart = 25, iter.max = 20)
.
I get the following error: Quick-TRANSfer stage steps exceeded maximum (= 31834400)
, and although one can view the code at http://svn.r-project.org/R/trunk/src/library/stats/R/kmeans.R - I am unsure as to what is going wrong. I assume my problem has to do with the size of my dataset, but I would be grateful if someone could clarify once and for all what I can do to mitigate the issue.
kmeans(dataset, algorithm="Lloyd", ...)
? That error message seems specific to the default algorithm,Hartigan-Wong
. – IrwinirwinnIFAULT = 4
). Still doesn't really explain what it means. – Triumvirate