[][src]Enum opencv::ml::ANN_MLP_TrainFlags

#[repr(C)]pub enum ANN_MLP_TrainFlags {
    UPDATE_WEIGHTS,
    NO_INPUT_SCALE,
    NO_OUTPUT_SCALE,
}

Train options

Variants

UPDATE_WEIGHTS

Update the network weights, rather than compute them from scratch. In the latter case the weights are initialized using the Nguyen-Widrow algorithm.

NO_INPUT_SCALE

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.

NO_OUTPUT_SCALE

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]

impl Copy for ANN_MLP_TrainFlags[src]

impl Debug for ANN_MLP_TrainFlags[src]

impl PartialEq<ANN_MLP_TrainFlags> for ANN_MLP_TrainFlags[src]

impl StructuralPartialEq for ANN_MLP_TrainFlags[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.