Struct linfa_clustering::AppxDbscanParams
source · [−]pub struct AppxDbscanParams<F: Float, N>(_);
Expand description
Helper struct for building a set of Approximated DBSCAN hyperparameters
Implementations
Trait Implementations
sourceimpl<F: Clone + Float, N: Clone> Clone for AppxDbscanParams<F, N>
impl<F: Clone + Float, N: Clone> Clone for AppxDbscanParams<F, N>
sourcefn clone(&self) -> AppxDbscanParams<F, N>
fn clone(&self) -> AppxDbscanParams<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: Float, N> ParamGuard for AppxDbscanParams<F, N>
impl<F: Float, N> ParamGuard for AppxDbscanParams<F, N>
type Checked = AppxDbscanValidParams<F, N>
type Checked = AppxDbscanValidParams<F, N>
The checked hyperparameters
type Error = AppxDbscanParamsError
type Error = AppxDbscanParamsError
Error type resulting from failed hyperparameter checking
sourcefn check_ref(&self) -> Result<&Self::Checked, Self::Error>
fn check_ref(&self) -> Result<&Self::Checked, Self::Error>
Checks the hyperparameters and returns a reference to the checked hyperparameters if successful Read more
sourcefn check(self) -> Result<Self::Checked, Self::Error>
fn check(self) -> Result<Self::Checked, Self::Error>
Checks the hyperparameters and returns the checked hyperparameters if successful
sourcefn check_unwrap(self) -> Self::Checked
fn check_unwrap(self) -> Self::Checked
Calls check()
and unwraps the result
sourceimpl<F: PartialEq + Float, N: PartialEq> PartialEq<AppxDbscanParams<F, N>> for AppxDbscanParams<F, N>
impl<F: PartialEq + Float, N: PartialEq> PartialEq<AppxDbscanParams<F, N>> for AppxDbscanParams<F, N>
sourcefn eq(&self, other: &AppxDbscanParams<F, N>) -> bool
fn eq(&self, other: &AppxDbscanParams<F, N>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AppxDbscanParams<F, N>) -> bool
fn ne(&self, other: &AppxDbscanParams<F, N>) -> bool
This method tests for !=
.
impl<F: Float, N> StructuralPartialEq for AppxDbscanParams<F, N>
impl<F: Float, N> TransformGuard for AppxDbscanParams<F, N>
Auto Trait Implementations
impl<F, N> RefUnwindSafe for AppxDbscanParams<F, N> where
F: RefUnwindSafe,
N: RefUnwindSafe,
impl<F, N> Send for AppxDbscanParams<F, N> where
N: Send,
impl<F, N> Sync for AppxDbscanParams<F, N> where
N: Sync,
impl<F, N> Unpin for AppxDbscanParams<F, N> where
N: Unpin,
impl<F, N> UnwindSafe for AppxDbscanParams<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