Enum fann_sys::fann_errorfunc_enum [] [src]

pub enum fann_errorfunc_enum {
    FANN_ERRORFUNC_LINEAR,
    FANN_ERRORFUNC_TANH,
}

Error function used during training.

Variants

FANN_ERRORFUNC_LINEAR

Standard linear error function.

FANN_ERRORFUNC_TANH

Tanh error function, usually better but can require a lower learning rate. This error function aggressively targets outputs that differ much from the desired, while not targeting outputs that only differ a little that much. This activation function is not recommended for cascade training and incremental training.

Trait Implementations

Derived Implementations

impl Clone for fann_errorfunc_enum

fn clone(&self) -> fann_errorfunc_enum

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

impl Copy for fann_errorfunc_enum