Skip to content

ml_ParamGrid_create

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

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

ARGUMENTSminVal, maxVal, logstep
FUNCTIONml_ParamGrid_create
RETURN TYPEml_ParamGrid | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method

ml_ParamGrid_create(minVal: number, maxVal: number, logstep: number): ml_ParamGrid | null;
4 available overloads
ml_ParamGrid_create(): ml_ParamGrid | null;
ml_ParamGrid_create(minVal: number): ml_ParamGrid | null;
ml_ParamGrid_create(minVal: number, maxVal: number): ml_ParamGrid | null;
ml_ParamGrid_create(minVal: number, maxVal: number, logstep: number): ml_ParamGrid | null;
minVal

minimum value of the parameter grid

maxVal

maximum value of the parameter grid

logstep

Logarithmic step for iterating the statmodel parameter

Returns

The ml_ParamGrid | 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.