Skip to content

Commit dff3811

Browse files
Ab2nourrelf
andauthored
docs: fix typo (#359)
Co-authored-by: Rémi Lafage <[email protected]>
1 parent f1f1938 commit dff3811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithms/linfa-clustering/src/k_means/algorithm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ use serde_crate::{Deserialize, Serialize};
4141
/// K-means is an iterative algorithm: it progressively refines the choice of centroids.
4242
///
4343
/// 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!).
44+
/// (unfortunately it can get stuck in a local minimum, finding the optimal minimum is NP-hard!).
4545
///
4646
/// There are three steps in the standard algorithm:
4747
/// - initialisation step: select initial centroids using one of our provided algorithms.

0 commit comments

Comments
 (0)