Struct linfa_clustering::DbscanValidParams
source · pub struct DbscanValidParams<F: Float, D: Distance<F>, N: NearestNeighbour> { /* private fields */ }
Expand description
The set of hyperparameters that can be specified for the execution of the DBSCAN algorithm.
Implementations§
source§impl<F: Float, D: Distance<F>, N: NearestNeighbour> DbscanValidParams<F, D, N>
impl<F: Float, D: Distance<F>, N: NearestNeighbour> DbscanValidParams<F, D, N>
sourcepub fn minimum_points(&self) -> usize
pub fn minimum_points(&self) -> usize
Minimum number of neighboring points a point needs to have to be a core
point and not a noise point.
Trait Implementations§
source§impl<F: Clone + Float, D: Clone + Distance<F>, N: Clone + NearestNeighbour> Clone for DbscanValidParams<F, D, N>
impl<F: Clone + Float, D: Clone + Distance<F>, N: Clone + NearestNeighbour> Clone for DbscanValidParams<F, D, N>
source§fn clone(&self) -> DbscanValidParams<F, D, N>
fn clone(&self) -> DbscanValidParams<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: Debug + Float, D: Debug + Distance<F>, N: Debug + NearestNeighbour> Debug for DbscanValidParams<F, D, N>
impl<F: Debug + Float, D: Debug + Distance<F>, N: Debug + NearestNeighbour> Debug for DbscanValidParams<F, D, N>
source§impl<F: PartialEq + Float, D: PartialEq + Distance<F>, N: PartialEq + NearestNeighbour> PartialEq for DbscanValidParams<F, D, N>
impl<F: PartialEq + Float, D: PartialEq + Distance<F>, N: PartialEq + NearestNeighbour> PartialEq for DbscanValidParams<F, D, N>
source§fn eq(&self, other: &DbscanValidParams<F, D, N>) -> bool
fn eq(&self, other: &DbscanValidParams<F, D, N>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<F: Float, D: Data<Elem = F>, DF: Distance<F>, N: NearestNeighbour> Transformer<&ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<Option<usize>>, Dim<[usize; 1]>>> for DbscanValidParams<F, DF, N>
impl<F: Float, D: Data<Elem = F>, DF: Distance<F>, N: NearestNeighbour> Transformer<&ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<Option<usize>>, Dim<[usize; 1]>>> for DbscanValidParams<F, DF, N>
source§impl<F: Float, D: Data<Elem = F>, DF: Distance<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 DbscanValidParams<F, DF, N>
impl<F: Float, D: Data<Elem = F>, DF: Distance<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 DbscanValidParams<F, DF, N>
impl<F: Float, D: Distance<F>, N: NearestNeighbour> StructuralPartialEq for DbscanValidParams<F, D, N>
Auto Trait Implementations§
impl<F, D, N> RefUnwindSafe for DbscanValidParams<F, D, N>where D: RefUnwindSafe, F: RefUnwindSafe, N: RefUnwindSafe,
impl<F, D, N> Send for DbscanValidParams<F, D, N>
impl<F, D, N> Sync for DbscanValidParams<F, D, N>
impl<F, D, N> Unpin for DbscanValidParams<F, D, N>
impl<F, D, N> UnwindSafe for DbscanValidParams<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