[−][src]Enum opencv::ml::ANN_MLP_TrainFlags
Train options
Variants
Update the network weights, rather than compute them from scratch. In the latter case the weights are initialized using the Nguyen-Widrow algorithm.
Do not normalize the input vectors. If this flag is not set, the training algorithm normalizes each input feature independently, shifting its mean value to 0 and making the standard deviation equal to 1. If the network is assumed to be updated frequently, the new training data could be much different from original one. In this case, you should take care of proper normalization.
Do not normalize the output vectors. If the flag is not set, the training algorithm normalizes each output feature independently, by transforming it to the certain range depending on the used activation function.
Trait Implementations
impl Clone for ANN_MLP_TrainFlags
[src]
pub fn clone(&self) -> ANN_MLP_TrainFlags
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ANN_MLP_TrainFlags
[src]
impl Debug for ANN_MLP_TrainFlags
[src]
impl PartialEq<ANN_MLP_TrainFlags> for ANN_MLP_TrainFlags
[src]
pub fn eq(&self, other: &ANN_MLP_TrainFlags) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for ANN_MLP_TrainFlags
[src]
Auto Trait Implementations
impl RefUnwindSafe for ANN_MLP_TrainFlags
[src]
impl Send for ANN_MLP_TrainFlags
[src]
impl Sync for ANN_MLP_TrainFlags
[src]
impl Unpin for ANN_MLP_TrainFlags
[src]
impl UnwindSafe for ANN_MLP_TrainFlags
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,