Enum fann_sys::fann_stopfunc_enum
source · #[repr(C)]pub enum fann_stopfunc_enum {
FANN_STOPFUNC_MSE = 0,
FANN_STOPFUNC_BIT = 1,
}
Expand description
Stop criteria used during training.
Variants§
FANN_STOPFUNC_MSE = 0
Stop criterion is Mean Square Error (MSE) value.
FANN_STOPFUNC_BIT = 1
Stop criterion is number of bits that fail. The number of bits means the
number of output neurons which differ more than the bit fail limit
(see fann_get_bit_fail_limit
, fann_set_bit_fail_limit
).
The bits are counted in all of the training data, so this number can be higher than
the number of training data.
Trait Implementations§
source§impl Clone for fann_stopfunc_enum
impl Clone for fann_stopfunc_enum
source§fn clone(&self) -> fann_stopfunc_enum
fn clone(&self) -> fann_stopfunc_enum
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for fann_stopfunc_enum
Auto Trait Implementations§
impl RefUnwindSafe for fann_stopfunc_enum
impl Send for fann_stopfunc_enum
impl Sync for fann_stopfunc_enum
impl Unpin for fann_stopfunc_enum
impl UnwindSafe for fann_stopfunc_enum
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more