Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions python/cuml/cuml/cluster/kmeans.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,12 @@ class KMeans(Base,
random_state : int or None (default = None)
If you want results to be the same when you restart Python, select a
state.
init : {'scalable-k-means++', 'k-means||', 'random'} or an \
init : {'scalable-k-means++', 'k-means||', 'k-means++', 'random'} or an \
ndarray (default = 'scalable-k-means++')

- ``'scalable-k-means++'`` or ``'k-means||'``: Uses fast and stable
scalable kmeans++ initialization.
scalable kmeans++ initialization. k-means++ is the constrained case of k-means||
with `oversampling_factor=0`
- ``'random'``: Choose `n_cluster` observations (rows) at random
from data for the initial centroids.
- If an ndarray is passed, it should be of
Expand Down