pub struct MeanSquaredErrorAccuracy { /* private fields */ }
Expand description
Provides loss calculated by Mean Squared Error for sampled data
Calculated as 1/N Σ (Prediction - Actual)^2 where N is the number of samples.
Trait Implementations§
source§impl Clone for MeanSquaredErrorAccuracy
impl Clone for MeanSquaredErrorAccuracy
source§fn clone(&self) -> MeanSquaredErrorAccuracy
fn clone(&self) -> MeanSquaredErrorAccuracy
Returns a copy 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 MeanSquaredErrorAccuracy
impl Debug for MeanSquaredErrorAccuracy
impl Copy for MeanSquaredErrorAccuracy
Auto Trait Implementations§
impl RefUnwindSafe for MeanSquaredErrorAccuracy
impl Send for MeanSquaredErrorAccuracy
impl Sync for MeanSquaredErrorAccuracy
impl Unpin for MeanSquaredErrorAccuracy
impl UnwindSafe for MeanSquaredErrorAccuracy
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