Enum prophet::Criterion [] [src]

pub enum Criterion {
    TimeOut(Duration),
    Iterations(u64),
    LatestMSE(f64),
    RecentMSE(f64),
}

Cirterias after which the learning process holds.

Variants

Stop after the given duration of time.

Stop after the given amount of learning iterations.

Stop when the latest mean square error drops below the given value.

Stop as soon as the recent mean squared error drops below the given value.

Methods

impl Criterion
[src]

[src]

Checks if this criterion is valid.

Trait Implementations

impl Debug for Criterion
[src]

[src]

Formats the value using the given formatter.

impl Copy for Criterion
[src]

impl Clone for Criterion
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Criterion
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.