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 duplicate 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: 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> Freeze for OpticsValidParams<F, D, N>
impl<F, D, N> RefUnwindSafe for OpticsValidParams<F, D, N>
impl<F, D, N> Send for OpticsValidParams<F, D, N>
impl<F, D, N> Sync for OpticsValidParams<F, D, N>
impl<F, D, N> Unpin for OpticsValidParams<F, D, N>
impl<F, D, N> UnwindSafe for OpticsValidParams<F, D, N>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more