Enum fann::ErrorFunc[][src]

pub enum ErrorFunc {
    Linear,
    Tanh,
}

Error function used during training.

Variants

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.

Methods

impl ErrorFunc
[src]

Create an ErrorFunc from a fann_sys::fann_errorfunc_enum.

Return the fann_sys::fann_errorfunc_enum corresponding to this ErrorFunc.

Trait Implementations

impl Copy for ErrorFunc
[src]

impl Clone for ErrorFunc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ErrorFunc
[src]

Formats the value using the given formatter. Read more

impl Eq for ErrorFunc
[src]

impl PartialEq for ErrorFunc
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for ErrorFunc

impl Sync for ErrorFunc