Struct linfa_clustering::AppxDbscanValidParams
source · [−]pub struct AppxDbscanValidParams<F: Float> { /* private fields */ }
Expand description
The set of hyperparameters that can be specified for the execution of the Approximated DBSCAN algorithm.
Implementations
sourceimpl<F: Float> AppxDbscanValidParams<F>
impl<F: Float> AppxDbscanValidParams<F>
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> Clone for AppxDbscanValidParams<F>
impl<F: Clone + Float> Clone for AppxDbscanValidParams<F>
sourcefn clone(&self) -> AppxDbscanValidParams<F>
fn clone(&self) -> AppxDbscanValidParams<F>
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: Debug + Float> Debug for AppxDbscanValidParams<F>
impl<F: Debug + Float> Debug for AppxDbscanValidParams<F>
sourceimpl<F: PartialEq + Float> PartialEq<AppxDbscanValidParams<F>> for AppxDbscanValidParams<F>
impl<F: PartialEq + Float> PartialEq<AppxDbscanValidParams<F>> for AppxDbscanValidParams<F>
sourcefn eq(&self, other: &AppxDbscanValidParams<F>) -> bool
fn eq(&self, other: &AppxDbscanValidParams<F>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AppxDbscanValidParams<F>) -> bool
fn ne(&self, other: &AppxDbscanValidParams<F>) -> bool
This method tests for !=
.
sourceimpl<F: Float, D: Data<Elem = F>> Transformer<&'_ ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<Option<usize>>, Dim<[usize; 1]>>> for AppxDbscanValidParams<F>
impl<F: Float, D: Data<Elem = F>> Transformer<&'_ ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<Option<usize>>, Dim<[usize; 1]>>> for AppxDbscanValidParams<F>
sourceimpl<F: Float, D: Data<Elem = F>, 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>
impl<F: Float, D: Data<Elem = F>, 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>
impl<F: Float> StructuralPartialEq for AppxDbscanValidParams<F>
Auto Trait Implementations
impl<F> RefUnwindSafe for AppxDbscanValidParams<F> where
F: RefUnwindSafe,
impl<F> Send for AppxDbscanValidParams<F>
impl<F> Sync for AppxDbscanValidParams<F>
impl<F> Unpin for AppxDbscanValidParams<F> where
F: Unpin,
impl<F> UnwindSafe for AppxDbscanValidParams<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more