Enum fann::StopFunc
[−]
[src]
pub enum StopFunc { Mse, Bit, }
Stop critieria for training.
Variants
Mse
The mean square error of the whole output.
Bit
The number of training data points where the output neuron's error was greater than the bit fail limit. Every neuron is counted for every training data sample where it fails.
Methods
impl StopFunc
[src]
fn from_stopfunc_enum(sf_enum: fann_stopfunc_enum) -> StopFunc
Create a StopFunc
from a fann_sys::fann_stopfunc_enum
.
fn to_stopfunc_enum(&self) -> fann_stopfunc_enum
Return the fann_sys::fann_stopfunc_enum
corresponding to this StopFunc
.
Trait Implementations
impl Copy for StopFunc
[src]
impl Clone for StopFunc
[src]
fn clone(&self) -> StopFunc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more