Commit fcc8111
authored
Update KMeans init docstring to include 'random' option (#1020)
The docstring for the dask_ml.cluster.KMeans class currently omits 'random'
as a valid option for the init parameter. However, this option is fully
implemented in the underlying k_init function and serves as a critical
scalable alternative to the default 'k-means||', which can overwhelm the
scheduler on large datasets.1 parent 8e2fbb2 commit fcc8111
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
0 commit comments