Struct linfa_clustering::Sample [−][src]
pub struct Sample<F> { /* fields omitted */ }
Expand description
This struct represents a data point in the dataset with it’s associated distances obtained from the OPTICS analysis
Implementations
The reachability distance of a sample is the distance between the point and it’s cluster core or another point whichever is larger.
The distance to the nth closest point where n is the minimum points to form a cluster.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<F> RefUnwindSafe for Sample<F> where
F: RefUnwindSafe,
impl<F> UnwindSafe for Sample<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.