Enum MlClusteringMetric
pub enum MlClusteringMetric {
Silhouette,
AdjustedRandIndex,
NormalizedMutualInfo,
DaviesBouldin,
}Variants§
Implementations§
§impl MlClusteringMetric
impl MlClusteringMetric
§impl MlClusteringMetric
impl MlClusteringMetric
pub const fn direction(self) -> MlMetricDirection
Trait Implementations§
§impl Clone for MlClusteringMetric
impl Clone for MlClusteringMetric
§fn clone(&self) -> MlClusteringMetric
fn clone(&self) -> MlClusteringMetric
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 more§impl Debug for MlClusteringMetric
impl Debug for MlClusteringMetric
§impl Display for MlClusteringMetric
impl Display for MlClusteringMetric
§impl FromStr for MlClusteringMetric
impl FromStr for MlClusteringMetric
§type Err = MlMetricError
type Err = MlMetricError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<MlClusteringMetric, <MlClusteringMetric as FromStr>::Err>
fn from_str( value: &str, ) -> Result<MlClusteringMetric, <MlClusteringMetric as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for MlClusteringMetric
impl Hash for MlClusteringMetric
§impl Ord for MlClusteringMetric
impl Ord for MlClusteringMetric
§fn cmp(&self, other: &MlClusteringMetric) -> Ordering
fn cmp(&self, other: &MlClusteringMetric) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for MlClusteringMetric
impl PartialEq for MlClusteringMetric
§impl PartialOrd for MlClusteringMetric
impl PartialOrd for MlClusteringMetric
impl Copy for MlClusteringMetric
impl Eq for MlClusteringMetric
impl StructuralPartialEq for MlClusteringMetric
Auto Trait Implementations§
impl Freeze for MlClusteringMetric
impl RefUnwindSafe for MlClusteringMetric
impl Send for MlClusteringMetric
impl Sync for MlClusteringMetric
impl Unpin for MlClusteringMetric
impl UnsafeUnpin for MlClusteringMetric
impl UnwindSafe for MlClusteringMetric
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