We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f1938 commit dff3811Copy full SHA for dff3811
algorithms/linfa-clustering/src/k_means/algorithm.rs
@@ -41,7 +41,7 @@ use serde_crate::{Deserialize, Serialize};
41
/// K-means is an iterative algorithm: it progressively refines the choice of centroids.
42
///
43
/// It's guaranteed to converge, even though it might not find the optimal set of centroids
44
-/// (unfortunately it can get stuck in a local minimum, finding the optimal minimum if NP-hard!).
+/// (unfortunately it can get stuck in a local minimum, finding the optimal minimum is NP-hard!).
45
46
/// There are three steps in the standard algorithm:
47
/// - initialisation step: select initial centroids using one of our provided algorithms.
0 commit comments