Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): update tolerance description in DbscanValidParams #358

Merged
merged 2 commits into from
Jan 14, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(docs): update tolerance description in DbscanValidParams
grevgeny committed Aug 10, 2024
commit a329b37427fa8aca9099add4c8c8749324a4fab0
2 changes: 1 addition & 1 deletion algorithms/linfa-clustering/src/dbscan/hyperparams.rs
Original file line number Diff line number Diff line change
@@ -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
}