pub struct DbscanOptions {
pub epsilon: f64,
pub min_points: usize,
pub metric: DistanceMetric,
}Expand description
Options for DBSCAN clustering
Fields§
§epsilon: f64Maximum distance for neighborhood (epsilon)
min_points: usizeMinimum number of points to form a dense region
metric: DistanceMetricDistance metric
Trait Implementations§
Source§impl Clone for DbscanOptions
impl Clone for DbscanOptions
Source§fn clone(&self) -> DbscanOptions
fn clone(&self) -> DbscanOptions
Returns a duplicate 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 Debug for DbscanOptions
impl Debug for DbscanOptions
Auto Trait Implementations§
impl Freeze for DbscanOptions
impl RefUnwindSafe for DbscanOptions
impl Send for DbscanOptions
impl Sync for DbscanOptions
impl Unpin for DbscanOptions
impl UnsafeUnpin for DbscanOptions
impl UnwindSafe for DbscanOptions
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