Skip to content

ml_SVMSGD_create

mlfunctionOpenCV 5.0.0
import { ml_SVMSGD_create } from '@banou/opencv-wasm'

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

ARGUMENTSSee signature below
FUNCTIONml_SVMSGD_create
RETURN TYPEml_SVMSGD | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Creates empty model. Use StatModel::train to train the model. Since %SVMSGD has several parameters, you may want to find the best parameters for your problem or use setOptimalParameters() to set some default parameters.

ml_SVMSGD_create(): ml_SVMSGD | null;
Returns

The ml_SVMSGD | null result.

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.