Skip to content

ml_VariableTypes

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

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

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

ml_VariableTypes: Variable types

Constructors and members

static VAR_NUMERICAL

same as VAR_ORDERED

VAR_NUMERICAL: ml_VariableTypesValue<0>,

static VAR_ORDERED

ordered variables

VAR_ORDERED: ml_VariableTypesValue<0>,

static VAR_CATEGORICAL

categorical variables

VAR_CATEGORICAL: ml_VariableTypesValue<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.