Skip to content

ml_ANN_MLP_TrainingMethods

mlclassOpenCV 5.0.0
import { ml_ANN_MLP_TrainingMethods } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSml_ANN_MLP_TrainingMethods
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Available training methods

Constructors and members

static BACKPROP

The back-propagation algorithm.

BACKPROP: ml_ANN_MLP_TrainingMethodsValue<0>,

static RPROP

The RPROP algorithm. See [RPROP93] for details.

RPROP: ml_ANN_MLP_TrainingMethodsValue<1>,

static ANNEAL

The simulated annealing algorithm. See [Kirkpatrick83] for details.

ANNEAL: ml_ANN_MLP_TrainingMethodsValue<2>

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.