Skip to content

Commit

Permalink
fix(docs): update tolerance description in DbscanValidParams
Browse files Browse the repository at this point in the history
  • Loading branch information
grevgeny committed Aug 10, 2024
1 parent b807674 commit a329b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/linfa-clustering/src/dbscan/hyperparams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl<F: Float, D: Distance<F>, N: NearestNeighbour> ParamGuard for DbscanParams<
impl<F: Float, D: Distance<F>, N: NearestNeighbour> TransformGuard for DbscanParams<F, D, N> {}

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

0 comments on commit a329b37

Please sign in to comment.