From a329b37427fa8aca9099add4c8c8749324a4fab0 Mon Sep 17 00:00:00 2001 From: Evgeny Grigorenko Date: Sat, 10 Aug 2024 15:36:05 +0400 Subject: [PATCH] fix(docs): update `tolerance` description in `DbscanValidParams` --- algorithms/linfa-clustering/src/dbscan/hyperparams.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithms/linfa-clustering/src/dbscan/hyperparams.rs b/algorithms/linfa-clustering/src/dbscan/hyperparams.rs index 57cf5ad0d..ac22621a5 100644 --- a/algorithms/linfa-clustering/src/dbscan/hyperparams.rs +++ b/algorithms/linfa-clustering/src/dbscan/hyperparams.rs @@ -82,7 +82,7 @@ impl, N: NearestNeighbour> ParamGuard for DbscanParams< impl, N: NearestNeighbour> TransformGuard for DbscanParams {} impl, N: NearestNeighbour> DbscanValidParams { - /// Nearest neighbour algorithm used for range queries + /// Maximum distance between two points to be considered neighbors pub fn tolerance(&self) -> F { self.tolerance }