Enum fann::StopFunc [−][src]
pub enum StopFunc { Mse, Bit, }
Stop critieria for training.
Variants
Mse
The mean square error of the whole output.
Bit
The number of training data points where the output neuron's error was greater than the bit fail limit. Every neuron is counted for every training data sample where it fails.
Methods
impl StopFunc
[src]
impl StopFunc
pub fn from_stopfunc_enum(sf_enum: fann_stopfunc_enum) -> StopFunc
[src]
pub fn from_stopfunc_enum(sf_enum: fann_stopfunc_enum) -> StopFunc
Create a StopFunc
from a fann_sys::fann_stopfunc_enum
.
pub fn to_stopfunc_enum(self) -> fann_stopfunc_enum
[src]
pub fn to_stopfunc_enum(self) -> fann_stopfunc_enum
Return the fann_sys::fann_stopfunc_enum
corresponding to this StopFunc
.
Trait Implementations
impl Copy for StopFunc
[src]
impl Copy for StopFunc
impl Clone for StopFunc
[src]
impl Clone for StopFunc
fn clone(&self) -> StopFunc
[src]
fn clone(&self) -> StopFunc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for StopFunc
[src]
impl Debug for StopFunc
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for StopFunc
[src]
impl Eq for StopFunc
impl PartialEq for StopFunc
[src]
impl PartialEq for StopFunc