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.
Methods
impl ErrorFunc
[src]
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
impl Copy 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