You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a number of observations with values on a set of variables,
380
+
kmeans puts the observations into clusters that maximizes within-cluster
381
+
similarity with respect to the variables. Tries several different random
382
+
seeding and clustering in parallel. Stops when cluster assignment of the
383
+
observations no longer changes. Returns the best result in terms of R2
384
+
from the random-seeding trials.
370
385
371
386
Instead of random seeding, kmeans also accepts manual seeding. This is
372
387
done by providing a centroid to the function, in which case clustering
@@ -661,7 +676,12 @@ sub PDL::iv_cluster {
661
676
662
677
=head2 pca_cluster
663
678
664
-
Assign variables to components ie clusters based on pca loadings or scores. One way to seed kmeans (see Ding & He, 2004, and Su & Dy, 2004 for other ways of using pca with kmeans). Variables are assigned to their most associated component. Note that some components may not have any variable that is most associated with them, so the returned number of clusters may be smaller than NCOMP.
679
+
Assign variables to components ie clusters based on pca loadings or
680
+
scores. One way to seed kmeans (see Ding & He, 2004, and Su & Dy, 2004
681
+
for other ways of using pca with kmeans). Variables are assigned to
682
+
their most associated component. Note that some components may not have
683
+
any variable that is most associated with them, so the returned number
0 commit comments