Struct machinebox::suggestionbox::ModelStats
[−]
[src]
pub struct ModelStats { pub predictions: u64, pub rewards: u64, pub reward_ratio: f64, pub explores: u64, pub exploits: u64, pub explore_ratio: f64, }
Provides statistics for a model
Fields
predictions: u64
The number of predictions this model has made
rewards: u64
The number of rewards this model has received
reward_ratio: f64
The ratio between predictions and rewards
explores: u64
The number of times the model has explored to learn new things
exploits: u64
The number of times the model has exploited learning
explore_ratio: f64
The ratio between exploring and exploiting
Trait Implementations
impl Debug for ModelStats
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ModelStats
[src]
fn clone(&self) -> ModelStats
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more