Description Usage Arguments Value
Create a data frame of Kmeans clusters
1 | sm_spectral_cluster(X, max_depth = 4, balance = FALSE)
|
X |
A TF-IDF matrix |
max_depth |
Depth of the hierarchical clustering algorithm. The maximum number of clusters will be 2^(max_depth). |
balance |
Should clusters be made to have uniform size. |
A data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.