Skip to content

ml_Boost_Types

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

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

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

Boosting type. Gentle AdaBoost and Real AdaBoost are often the preferable choices.

Constructors and members

static DISCRETE

Discrete AdaBoost.

DISCRETE: ml_Boost_TypesValue<0>,

static REAL

Real AdaBoost. It is a technique that utilizes confidence-rated predictions

REAL: ml_Boost_TypesValue<1>,

static LOGIT

LogitBoost. It can produce good regression fits.

LOGIT: ml_Boost_TypesValue<2>,

static GENTLE

Gentle AdaBoost. It puts less weight on outlier data points and for that

GENTLE: ml_Boost_TypesValue<3>

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.