sm_spectral_cluster: Create a data frame of Kmeans clusters

Description Usage Arguments Value

View source: R/text.R

Description

Create a data frame of Kmeans clusters

Usage

1
sm_spectral_cluster(X, max_depth = 4, balance = FALSE)

Arguments

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.

Value

A data frame.


statsmaths/smodels documentation built on Jan. 9, 2021, 1:07 p.m.