Create a kmeans clustering model
Arguments
- ...
Additional arguments sent to sklearn.cluster.KMeans()
- n_clusters
number of clusters to search for (enter as integer by typing L after the number)
Examples
# models with different values for number of clusters
clustering_model <- bt_make_clusterer_kmeans(n_clusters = 15L)
clustering_model <- bt_make_clusterer_kmeans(n_clusters = 10L)
# specifying additional arguments
clustering_model <- bt_make_clusterer_kmeans(n_clusters = 10L, verbose = TRUE)