pub struct LearningStats {
pub training_examples: usize,
pub model_accuracy: f64,
pub average_prediction_error: f64,
pub total_updates: usize,
pub learning_rate: f64,
}Expand description
Learning statistics.
Fields§
§training_examples: usize§model_accuracy: f64§average_prediction_error: f64§total_updates: usize§learning_rate: f64Trait Implementations§
Source§impl Clone for LearningStats
impl Clone for LearningStats
Source§fn clone(&self) -> LearningStats
fn clone(&self) -> LearningStats
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 moreSource§impl Debug for LearningStats
impl Debug for LearningStats
Source§impl<'de> Deserialize<'de> for LearningStats
impl<'de> Deserialize<'de> for LearningStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LearningStats
impl RefUnwindSafe for LearningStats
impl Send for LearningStats
impl Sync for LearningStats
impl Unpin for LearningStats
impl UnwindSafe for LearningStats
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