ml_SVM_getDefaultGridPtr
import { ml_SVM_getDefaultGridPtr } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSparam_id
FUNCTIONml_SVM_getDefaultGridPtr
RETURN TYPEml_ParamGrid | null
Generates a grid for %SVM parameters.
ml_SVM_getDefaultGridPtr(param_id: number): ml_ParamGrid | null;param_id%SVM parameters IDs that must be one of the SVM::ParamTypes. The grid is generated for the parameter with this ID.
The function generates a grid pointer for the specified parameter of the %SVM algorithm. The grid may be passed to the function SVM::trainAuto.
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.