O'Reilly logo

Practical Predictive Analytics by Ralph Winters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Extracting the cluster assignments

Let's extract the cluster assignments from the clust objects, and then compare the counts for each cluster with clusters of size 3, 4, and 7:

#cluster assignments 
clusters3 <- clust3$cluster
clusters5 <- clust5$clusterclusters7 <- clust7$cluster

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required