Struct linfa_clustering::AppxDbscanValidParams
source · pub struct AppxDbscanValidParams<F: Float, N> { /* private fields */ }
Expand description
The set of hyperparameters that can be specified for the execution of the Approximated DBSCAN algorithm.
Implementations§
source§impl<F: Float, N> AppxDbscanValidParams<F, N>
impl<F: Float, N> AppxDbscanValidParams<F, N>
sourcepub fn minimum_points(&self) -> usize
pub fn minimum_points(&self) -> usize
Distance between points for them to be considered neighbours.
sourcepub fn slack(&self) -> F
pub fn slack(&self) -> F
Minimum number of neighboring points a point needs to have to be a core point and not a noise point.
sourcepub fn appx_tolerance(&self) -> F
pub fn appx_tolerance(&self) -> F
Get the approximate tolerance (tolerance * (1 + slack)
)
Approximation factor, allows the distance between two points
for them to be considered neighbours to reach
tolerance * (1 + slack)
Trait Implementations§
source§impl<F: Clone + Float, N: Clone> Clone for AppxDbscanValidParams<F, N>
impl<F: Clone + Float, N: Clone> Clone for AppxDbscanValidParams<F, N>
source§fn clone(&self) -> AppxDbscanValidParams<F, N>
fn clone(&self) -> AppxDbscanValidParams<F, N>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more