oa::ml::training::TrainingMetric
Stateful metric updated once after each completed step.
Declaration
pub trait TrainingMetric { // Required methods fn name(&self) -> &str; fn reset(&mut self); fn update_step(&mut self, state: TrainingSnapshot); fn result(&self) -> f64; }Public Rust declaration.
Public Methods
Public Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.