Skip to content

Commit f1f1938

Browse files
grevgenyrelf
andauthored
fix(docs): update tolerance description in DbscanValidParams (#358)
Co-authored-by: Rémi Lafage <remi.lafage@onera.fr>
1 parent 606f59c commit f1f1938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithms/linfa-clustering/src/dbscan/hyperparams.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl<F: Float, D: Distance<F>, N: NearestNeighbour> ParamGuard for DbscanParams<
8282
impl<F: Float, D: Distance<F>, N: NearestNeighbour> TransformGuard for DbscanParams<F, D, N> {}
8383

8484
impl<F: Float, D: Distance<F>, N: NearestNeighbour> DbscanValidParams<F, D, N> {
85-
/// Nearest neighbour algorithm used for range queries
85+
/// Maximum distance between two points to be considered neighbors
8686
pub fn tolerance(&self) -> F {
8787
self.tolerance
8888
}

0 commit comments

Comments
 (0)