From fbdbe8463b7f199f1a4d4167058893b7dd04197d Mon Sep 17 00:00:00 2001 From: Abdenour Madani <61651582+Ab2nour@users.noreply.github.com> Date: Sat, 17 Aug 2024 22:08:09 +0200 Subject: [PATCH] docs: fix typo --- algorithms/linfa-clustering/src/k_means/algorithm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithms/linfa-clustering/src/k_means/algorithm.rs b/algorithms/linfa-clustering/src/k_means/algorithm.rs index bd8297326..f6f9aa8d1 100644 --- a/algorithms/linfa-clustering/src/k_means/algorithm.rs +++ b/algorithms/linfa-clustering/src/k_means/algorithm.rs @@ -41,7 +41,7 @@ use serde_crate::{Deserialize, Serialize}; /// K-means is an iterative algorithm: it progressively refines the choice of centroids. /// /// It's guaranteed to converge, even though it might not find the optimal set of centroids -/// (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!). /// /// There are three steps in the standard algorithm: /// - initialisation step: select initial centroids using one of our provided algorithms.