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

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

Derived Implementations

impl PartialEq for StopFunc

fn eq(&self, __arg_0: &StopFunc) -> bool

fn ne(&self, __arg_0: &StopFunc) -> bool

impl Eq for StopFunc

impl Debug for StopFunc

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for StopFunc

fn clone(&self) -> StopFunc

fn clone_from(&mut self, source: &Self)

impl Copy for StopFunc