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 moresource§impl<F: PartialEq, D: PartialEq, N: PartialEq> PartialEq for OpticsValidParams<F, D, N>
impl<F: PartialEq, D: PartialEq, N: PartialEq> PartialEq for OpticsValidParams<F, D, N>
source§fn eq(&self, other: &OpticsValidParams<F, D, N>) -> bool
fn eq(&self, other: &OpticsValidParams<F, D, N>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<F: Float, D: Distance<F>, N: NearestNeighbour> Transformer<ArrayBase<ViewRepr<&F>, Dim<[usize; 2]>>, OpticsAnalysis<F>> for OpticsValidParams<F, D, N>
impl<F: Float, D: Distance<F>, N: NearestNeighbour> Transformer<ArrayBase<ViewRepr<&F>, Dim<[usize; 2]>>, OpticsAnalysis<F>> for OpticsValidParams<F, D, N>
impl<F, D, N> StructuralPartialEq for OpticsValidParams<F, D, N>
Auto Trait Implementations§
impl<F, D, N> RefUnwindSafe for OpticsValidParams<F, D, N>where D: RefUnwindSafe, F: RefUnwindSafe, N: RefUnwindSafe,
impl<F, D, N> Send for OpticsValidParams<F, D, N>where D: Send, F: Send, N: Send,
impl<F, D, N> Sync for OpticsValidParams<F, D, N>where D: Sync, F: Sync, N: Sync,
impl<F, D, N> Unpin for OpticsValidParams<F, D, N>where D: Unpin, F: Unpin, N: Unpin,
impl<F, D, N> UnwindSafe for OpticsValidParams<F, D, N>where D: UnwindSafe, F: UnwindSafe, N: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more