Skip to content

ml_SVMSGD_SvmsgdType

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

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

ARGUMENTSConstructor or factory
CLASSml_SVMSGD_SvmsgdType
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.

SVMSGD type. ASGD is often the preferable choice.

Constructors and members

static SGD

Stochastic Gradient Descent

SGD: ml_SVMSGD_SvmsgdTypeValue<0>,

static ASGD

Average Stochastic Gradient Descent

ASGD: ml_SVMSGD_SvmsgdTypeValue<1>

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.