Enum fann_sys::fann_errorfunc_enum[][src]

#[repr(C)]
pub enum fann_errorfunc_enum { FANN_ERRORFUNC_LINEAR, FANN_ERRORFUNC_TANH, }

Error function used during training.

Variants

Standard linear error function.

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

impl Copy for fann_errorfunc_enum
[src]

impl Clone for fann_errorfunc_enum
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations