Enum opencv::ml::ANN_MLP_TrainFlags [−][src]
#[repr(C)]
pub enum ANN_MLP_TrainFlags {
UPDATE_WEIGHTS,
NO_INPUT_SCALE,
NO_OUTPUT_SCALE,
}Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for ANN_MLP_TrainFlags
impl Send for ANN_MLP_TrainFlags
impl Sync for ANN_MLP_TrainFlags
impl Unpin for ANN_MLP_TrainFlags
impl UnwindSafe for ANN_MLP_TrainFlags
Blanket Implementations
Mutably borrows from an owned value. Read more