|
|
|
@ -2962,7 +2962,7 @@ An example on K-means clustering |
|
|
|
|
/** @brief Finds centers of clusters and groups input samples around the clusters.
|
|
|
|
|
|
|
|
|
|
The function kmeans implements a k-means algorithm that finds the centers of cluster_count clusters |
|
|
|
|
and groups the input samples around the clusters. As an output, \f$\texttt{labels}_i\f$ contains a |
|
|
|
|
and groups the input samples around the clusters. As an output, \f$\texttt{bestLabels}_i\f$ contains a |
|
|
|
|
0-based cluster index for the sample stored in the \f$i^{th}\f$ row of the samples matrix. |
|
|
|
|
|
|
|
|
|
@note |
|
|
|
|