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
sourceimpl<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
sourceimpl<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>
sourcefn clone(&self) -> OpticsValidParams<F, D, N>
fn clone(&self) -> OpticsValidParams<F, D, N>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<F: PartialEq, D: PartialEq, N: PartialEq> PartialEq<OpticsValidParams<F, D, N>> for OpticsValidParams<F, D, N>
impl<F: PartialEq, D: PartialEq, N: PartialEq> PartialEq<OpticsValidParams<F, D, N>> for OpticsValidParams<F, D, N>
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &OpticsValidParams<F, D, N>) -> bool
fn ne(&self, other: &OpticsValidParams<F, D, N>) -> bool
This method tests for !=
.
sourceimpl<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>
fn transform(&self, observations: ArrayView<'_, F, Ix2>) -> OpticsAnalysis<F>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more