- K_means(k, thresh?, maxtime?, points): undefined | [number, number][][]
-
Parameters
-
k: number
-
thresh: number = 0.0001
-
maxtime: number = 100
-
points: [number, number][]
Returns undefined | [number, number][][]
groups.length = k
:[
[group1],
[group2],...
]
k均值聚类