
K-means clustering (full)
rs_k_means.Rd
Rust interface for k-means clustering using Lloyd's algorithm with SIMD or
GEMM acceleration depending on dimensionality. It exposes the high
performance k-means clustering code from the Rust crate
ann-search-rs
for rapid clustering.
Arguments
- data
Numerical matrix. The data to cluster, of dimensions samples x features.
- k
Integer. Number of clusters.
- kmeans_params
Named list. Parameters produced by
params_kmeans().- seed
Integer. Seed for reproducibility.
- verbose
Boolean. Controls verbosity.