pub enum MlRegressionMetric {
Mae,
Mse,
Rmse,
R2,
Mape,
Smape,
MedianAbsoluteError,
}Variants§
Implementations§
Source§impl MlRegressionMetric
impl MlRegressionMetric
pub const fn direction(self) -> MlMetricDirection
Trait Implementations§
Source§impl Clone for MlRegressionMetric
impl Clone for MlRegressionMetric
Source§fn clone(&self) -> MlRegressionMetric
fn clone(&self) -> MlRegressionMetric
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MlRegressionMetric
impl Debug for MlRegressionMetric
Source§impl Display for MlRegressionMetric
impl Display for MlRegressionMetric
Source§impl FromStr for MlRegressionMetric
impl FromStr for MlRegressionMetric
Source§type Err = MlMetricError
type Err = MlMetricError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<MlRegressionMetric, <MlRegressionMetric as FromStr>::Err>
fn from_str( value: &str, ) -> Result<MlRegressionMetric, <MlRegressionMetric as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for MlRegressionMetric
impl Hash for MlRegressionMetric
Source§impl Ord for MlRegressionMetric
impl Ord for MlRegressionMetric
Source§fn cmp(&self, other: &MlRegressionMetric) -> Ordering
fn cmp(&self, other: &MlRegressionMetric) -> Ordering
1.21.0 (const: unstable) · 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
Source§impl PartialEq for MlRegressionMetric
impl PartialEq for MlRegressionMetric
Source§fn eq(&self, other: &MlRegressionMetric) -> bool
fn eq(&self, other: &MlRegressionMetric) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MlRegressionMetric
impl PartialOrd for MlRegressionMetric
impl Copy for MlRegressionMetric
impl Eq for MlRegressionMetric
impl StructuralPartialEq for MlRegressionMetric
Auto Trait Implementations§
impl Freeze for MlRegressionMetric
impl RefUnwindSafe for MlRegressionMetric
impl Send for MlRegressionMetric
impl Sync for MlRegressionMetric
impl Unpin for MlRegressionMetric
impl UnsafeUnpin for MlRegressionMetric
impl UnwindSafe for MlRegressionMetric
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