Enum nn::HaltCondition [] [src]

pub enum HaltCondition {
    Epochs(u32),
    MSE(f64),
    Timer(Duration),
}

Specifies when to stop training the network

Variants

Stop training after a certain number of epochs

Train until a certain error rate is achieved

Train for some fixed amount of time and then halt

Trait Implementations

impl Debug for HaltCondition
[src]

Formats the value using the given formatter.

impl Copy for HaltCondition
[src]

impl Clone for HaltCondition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more