Enum prophet::Criterion
[−]
[src]
pub enum Criterion { TimeOut(Duration), Iterations(u64), LatestMSE(f64), RecentMSE(f64), }
Cirterias after which the learning process holds.
Variants
TimeOut(Duration)
Stop after the given duration of time.
Iterations(u64)
Stop after the given amount of learning iterations.
LatestMSE(f64)
Stop when the latest mean square error drops below the given value.
RecentMSE(f64)
Stop as soon as the recent mean squared error drops below the given value.
Methods
impl Criterion
[src]
fn check_validity(&self) -> Result<()>
[src]
Checks if this criterion is valid.
Trait Implementations
impl Debug for Criterion
[src]
impl Copy for Criterion
[src]
impl Clone for Criterion
[src]
fn clone(&self) -> Criterion
[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