k-means 分群 Clusterings
# Assumed you have X attributes for training data set
# Import required library
library(cluster)
fit <- kmeans(X, 3)
Last updated
Was this helpful?
# Assumed you have X attributes for training data set
# Import required library
library(cluster)
fit <- kmeans(X, 3)
Last updated
Was this helpful?