Struct smartcore::metrics::RegressionMetrics
source · pub struct RegressionMetrics<T> { /* private fields */ }
Expand description
Metrics for regression models.
Implementations§
source§impl<T: Number + FloatNumber> RegressionMetrics<T>
impl<T: Number + FloatNumber> RegressionMetrics<T>
sourcepub fn mean_squared_error() -> MeanSquareError<T>
pub fn mean_squared_error() -> MeanSquareError<T>
Mean squared error, see mean squared error.
sourcepub fn mean_absolute_error() -> MeanAbsoluteError<T>
pub fn mean_absolute_error() -> MeanAbsoluteError<T>
Mean absolute error, see mean absolute error.
Auto Trait Implementations§
impl<T> RefUnwindSafe for RegressionMetrics<T>where T: RefUnwindSafe,
impl<T> Send for RegressionMetrics<T>where T: Send,
impl<T> Sync for RegressionMetrics<T>where T: Sync,
impl<T> Unpin for RegressionMetrics<T>where T: Unpin,
impl<T> UnwindSafe for RegressionMetrics<T>where T: UnwindSafe,
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