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

The number of predictions this model has made

The number of rewards this model has received

The ratio between predictions and rewards

The number of times the model has explored to learn new things

The number of times the model has exploited learning

The ratio between exploring and exploiting

Trait Implementations

impl Debug for ModelStats
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for ModelStats
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for ModelStats

impl Sync for ModelStats