kmeanscluster#
- kmeanscluster(data, clusters=1, randomized=False, *, random_state=0)#
Cluster row-wise observations using EEGLAB’s simple k-means contract.
Returns zero-based labels, centroids, the converged previous-label vector, and an unchanged copy of the input observations. Deterministic mode initializes from the first
clustersrows, as EEGLAB does, and keeps that centroid-row numbering.