Module cluster (0.6.0)

Clustering models. This module is styled after Scikit-Learn's cluster module: https://scikit-learn.org/stable/modules/clustering.html.

Classes

KMeans

KMeans(n_clusters: int = 8)

K-Means clustering.

Parameter
NameDescription
n_clusters int, default 8

The number of clusters to form as well as the number of centroids to generate. Default to 8.