Enum fann::ErrorFunc
[−]
[src]
pub enum ErrorFunc { Linear, Tanh, }
Error function used during training.
Variants
Linear
Standard linear error function
Tanh
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.
Trait Implementations
impl PartialEq for ErrorFunc
[src]
fn eq(&self, __arg_0: &ErrorFunc) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for ErrorFunc
[src]
impl Clone for ErrorFunc
[src]
fn clone(&self) -> ErrorFunc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more