kmeans: Quick-TRANSfer stage steps exceeded maximum

前端 未结 4 427
暗喜
暗喜 2021-02-01 15:04

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

4条回答
  •  名媛妹妹
    2021-02-01 15:28

    Had the same problem, seems to have something to do with available memory.

    Running Garbage Collection before the function worked for me:

    gc()
    

    or reference:

    Increasing (or decreasing) the memory available to R processes

提交回复
热议问题