Struct linfa_clustering::OpticsValidParams
source · pub struct OpticsValidParams<F, D, N> { /* private fields */ }
Expand description
The set of hyperparameters that can be specified for the execution of the OPTICS algorithm.
Implementations§
source§impl<F: Float, D, N> OpticsValidParams<F, D, N>
impl<F: Float, D, N> OpticsValidParams<F, D, N>
sourcepub fn tolerance(&self) -> F
pub fn tolerance(&self) -> F
Two points are considered neighbors if the euclidean distance between them is below the tolerance
sourcepub fn minimum_points(&self) -> usize
pub fn minimum_points(&self) -> usize
Minimum number of a points in a neighborhood around a point for it to not be considered noise
Trait Implementations§
source§impl<F: Clone, D: Clone, N: Clone> Clone for OpticsValidParams<F, D, N>
impl<F: Clone, D: Clone, N: Clone> Clone for OpticsValidParams<F, D, N>
source§fn clone(&self) -> OpticsValidParams<F, D, N>
fn clone(&self) -> OpticsValidParams<F, D, 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