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§
source§impl<F: Clone + Float, N: Clone> Clone for AppxDbscanParams<F, N>
impl<F: Clone + Float, N: Clone> Clone for AppxDbscanParams<F, N>
source§fn clone(&self) -> AppxDbscanParams<F, N>
fn clone(&self) -> AppxDbscanParams<F, 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: 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
source§fn 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
source§fn 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
source§fn check_unwrap(self) -> Self::Checkedwhere
Self: Sized,
fn check_unwrap(self) -> Self::Checkedwhere
Self: Sized,
Calls
check()
and unwraps the result