Struct linfa_clustering::OpticsParams [−][src]
pub struct OpticsParams<F, D, N>(_);
Implementations
Distance between points for them to be considered neighbors. Compared to DBSCAN this parameter isn’t strictly necessary but improves execution time by not considering every point. If the tolerance is too low the distances calculated are undefined and no clusters will be returned.
Trait Implementations
type Checked = OpticsValidParams<F, D, N>
type Checked = OpticsValidParams<F, D, N>
The checked hyperparameters
type Error = OpticsError
type Error = OpticsError
Error type resulting from failed hyperparameter checking
Checks the hyperparameters and returns a reference to the checked hyperparameters if successful Read more
Checks the hyperparameters and returns the checked hyperparameters if successful
Calls check()
and unwraps the result