Cluster your data
Arguments
- clustering_model
Python object, output of bt_make_clusterer*
- embeddings
Embeddings, output of bt_do_embedding or bt_do_reducing
Examples
# create clustering model
clusterer <- bt_make_clusterer_kmeans(n_clusters = 2)
# mock embeddings
embeddings_test <- matrix(runif(50), nrow = 25, ncol = 2)
# create clusters
clusters <- bt_do_clustering(clusterer, embeddings_test)