Skip to content

ml_LogisticRegression_RegKinds

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

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

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

Regularization kinds

Constructors and members

static REG_DISABLE

Regularization disabled

REG_DISABLE: ml_LogisticRegression_RegKindsValue<-1>,

static REG_L1

ml_LogisticRegression_RegKinds.REG_L1: %L1 norm

REG_L1: ml_LogisticRegression_RegKindsValue<0>,

static REG_L2

ml_LogisticRegression_RegKinds.REG_L2: %L2 norm

REG_L2: ml_LogisticRegression_RegKindsValue<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.