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
fn from_stopfunc_enum(sf_enum: fann_stopfunc_enum) -> StopFunc
Create a StopFunc
from a fann_sys::fann_stopfunc_enum
.
fn to_stopfunc_enum(&self) -> fann_stopfunc_enum
Return the fann_sys::fann_stopfunc_enum
corresponding to this StopFunc
.