我想使用包中的h2o.kmeans
功能h2o
。这是我的代码
clust <- h2o.kmeans(data = waterM, centers = 30, key = "kmeansKey", iter.max = 1000, normalize = T, init = "none", dropNACols = F );
summary(clust@model);
输出是
Length Class Mode
params 6 -none- list
centers 25560 -none- numeric
withinss 30 -none- numeric
tot.withinss 1 -none- numeric
size 30 -none- numeric
iter 1 -none- numeric
为什么没有cluster
包含整数向量的对象(从 1:k 开始),表示每个点分配到的集群?