ramanspy.analysis.cluster.KMeans
- class ramanspy.analysis.cluster.KMeans(*, n_clusters, **kwargs)[source]
k-means clustering.
- Parameters:
n_clusters (int) – The number of clusters.
**kwargs – Check original implementation for additional parameters.
Note
Implementation and documentation based on scikit-learn.
Methods
__init__(*, n_clusters, **kwargs)apply(raman_objects)Applies the defined analysis method on the Raman spectroscopic objects provided.