Skip to content

Commit 203e582

Browse files
Docs clarification
1 parent e20c49d commit 203e582

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/modules/ROOT/pages/algorithms/kmeans.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ This sampling strategy tries to spread the initial clusters more evenly so as to
5353

5454

5555
It is also possible to explicitly give the list of initial centroids to the algorithm via the `seedCentroids` parameter. In this case, the value of the `initialSampler` parameter is ignored, even if changed in the configuration.
56+
Note that although the algorithm supports clustering single double numbers, when seeded through the `seedCentroids` parameter, the initial centroids must be passed as arrays e.g., [[1.5],[2.5]] for initializing with 1.5 and 2.5 respectively.
5657

5758
[[algorithm-k-means-considerations]]
5859
== Considerations

0 commit comments

Comments
 (0)