bigframes.ml.cluster.KMeans.fit#

KMeans.fit(X: DataFrame | Series | DataFrame | Series, y: DataFrame | Series | DataFrame | Series | None = None) _T#

Compute k-means clustering.

Parameters:
Returns:

Fitted estimator.

Return type:

KMeans