Enum fann::ErrorFunc [] [src]

pub enum ErrorFunc {

Error function used during training.



Standard linear error function


Tanh error function; usually better but may require a lower learning rate. This error function aggressively targets outputs that differ much from the desired, while not targeting outputs that only differ slightly. Not recommended for cascade or incremental training.


impl ErrorFunc

fn from_errorfunc_enum(ef_enum: fann_errorfunc_enum) -> ErrorFunc

Create an ErrorFunc from a fann_sys::fann_errorfunc_enum.

fn to_errorfunc_enum(&self) -> fann_errorfunc_enum

Return the fann_sys::fann_errorfunc_enum corresponding to this ErrorFunc.

Trait Implementations

Derived Implementations

impl PartialEq for ErrorFunc

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

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

impl Eq for ErrorFunc

impl Debug for ErrorFunc

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

impl Clone for ErrorFunc

fn clone(&self) -> ErrorFunc

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

impl Copy for ErrorFunc