bigframes.ml.cluster.KMeans.__init__#

KMeans.__init__(n_clusters: int = 8, *, init: Literal['kmeans++', 'random', 'custom'] = 'kmeans++', init_col: str | None = None, distance_type: Literal['euclidean', 'cosine'] = 'euclidean', max_iter: int = 20, tol: float = 0.01, warm_start: bool = False)[source]#