ml_SVMSGD_MarginType
import { ml_SVMSGD_MarginType } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASSml_SVMSGD_MarginType
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
ml_SVMSGD_MarginType: Margin type.
Constructors and members
static SOFT_MARGIN
General case, suits to the case of non-linearly separable sets, allows outliers.
SOFT_MARGIN: ml_SVMSGD_MarginTypeValue<0>,static HARD_MARGIN
More accurate for the case of linearly separable sets.
HARD_MARGIN: ml_SVMSGD_MarginTypeValue<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.