setTrainMethod method

void setTrainMethod(
  1. int method, {
  2. double param1 = 0,
  3. double param2 = 0,
})

Sets the training method, one of BACKPROP, RPROP, ANNEAL, and its common parameters.

Implementation

void setTrainMethod(int method, {double param1 = 0, double param2 = 0}) =>
    cvRun(() => cml.cv_ml_ANN_MLP_setTrainMethod(ref, method, param1, param2));