Struct machinebox::suggestionbox::ModelOptions
[−]
[src]
pub struct ModelOptions { pub reward_expiration_seconds: u64, pub epsilon: f64, pub softmax_lambda: f64, pub ngrams: i32, pub skipgrams: i32, }
Various configuration parameters that can be used to tweak the behavior and learning options of the suggestionbox model.
Fields
reward_expiration_seconds: u64
Determines the maximum length of time in seconds between when a prediction is presented to a client and when a reward is posted.
epsilon: f64
Epsilon enables proportionate exploiting vs. exploring ratio.
softmax_lambda: f64
Soft max lambda enables adaptive exploiting vs exploring ratio.
ngrams: i32
The n-grams used for analysis
skipgrams: i32
skip-grams used for text analysis
Trait Implementations
impl Debug for ModelOptions
[src]
impl Clone for ModelOptions
[src]
fn clone(&self) -> ModelOptions
[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