Struct linfa_clustering::AppxDbscanParams
source · [−]pub struct AppxDbscanParams<F: Float>(_);
Expand description
Helper struct for building a set of Approximated DBSCAN hyperparameters
Implementations
sourceimpl<F: Float> AppxDbscanParams<F>
impl<F: Float> AppxDbscanParams<F>
Trait Implementations
sourceimpl<F: Debug + Float> Debug for AppxDbscanParams<F>
impl<F: Debug + Float> Debug for AppxDbscanParams<F>
sourceimpl<F: Float> ParamGuard for AppxDbscanParams<F>
impl<F: Float> ParamGuard for AppxDbscanParams<F>
type Checked = AppxDbscanValidParams<F>
type Checked = AppxDbscanValidParams<F>
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
impl<F: Float> TransformGuard for AppxDbscanParams<F>
Auto Trait Implementations
impl<F> RefUnwindSafe for AppxDbscanParams<F> where
F: RefUnwindSafe,
impl<F> Send for AppxDbscanParams<F>
impl<F> Sync for AppxDbscanParams<F>
impl<F> Unpin for AppxDbscanParams<F> where
F: Unpin,
impl<F> UnwindSafe for AppxDbscanParams<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