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
sourceimpl<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
sourceimpl<F: Clone + Float, N: Clone> Clone for AppxDbscanValidParams<F, N>
impl<F: Clone + Float, N: Clone> Clone for AppxDbscanValidParams<F, N>
sourcefn clone(&self) -> AppxDbscanValidParams<F, N>
fn clone(&self) -> AppxDbscanValidParams<F, 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 + Float, N: PartialEq> PartialEq<AppxDbscanValidParams<F, N>> for AppxDbscanValidParams<F, N>
impl<F: PartialEq + Float, N: PartialEq> PartialEq<AppxDbscanValidParams<F, N>> for AppxDbscanValidParams<F, N>
sourcefn eq(&self, other: &AppxDbscanValidParams<F, N>) -> bool
fn eq(&self, other: &AppxDbscanValidParams<F, N>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AppxDbscanValidParams<F, N>) -> bool
fn ne(&self, other: &AppxDbscanValidParams<F, N>) -> bool
This method tests for !=
.
sourceimpl<F: Float, D: Data<Elem = F>, N: NearestNeighbour> Transformer<&'_ ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<Option<usize>>, Dim<[usize; 1]>>> for AppxDbscanValidParams<F, N>
impl<F: Float, D: Data<Elem = F>, N: NearestNeighbour> Transformer<&'_ ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<Option<usize>>, Dim<[usize; 1]>>> for AppxDbscanValidParams<F, N>
sourceimpl<F: Float, D: Data<Elem = F>, N: NearestNeighbour, T> Transformer<DatasetBase<ArrayBase<D, Dim<[usize; 2]>>, T>, DatasetBase<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<Option<usize>>, Dim<[usize; 1]>>>> for AppxDbscanValidParams<F, N>
impl<F: Float, D: Data<Elem = F>, N: NearestNeighbour, T> Transformer<DatasetBase<ArrayBase<D, Dim<[usize; 2]>>, T>, DatasetBase<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<Option<usize>>, Dim<[usize; 1]>>>> for AppxDbscanValidParams<F, N>
impl<F: Float, N> StructuralPartialEq for AppxDbscanValidParams<F, N>
Auto Trait Implementations
impl<F, N> RefUnwindSafe for AppxDbscanValidParams<F, N> where
F: RefUnwindSafe,
N: RefUnwindSafe,
impl<F, N> Send for AppxDbscanValidParams<F, N> where
N: Send,
impl<F, N> Sync for AppxDbscanValidParams<F, N> where
N: Sync,
impl<F, N> Unpin for AppxDbscanValidParams<F, N> where
N: Unpin,
impl<F, N> UnwindSafe for AppxDbscanValidParams<F, N> where
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