ml_LogisticRegression_load
import { ml_LogisticRegression_load } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSfilepath, nodeName
FUNCTIONml_LogisticRegression_load
RETURN TYPEml_LogisticRegression | null
Loads and creates a serialized LogisticRegression from a file
Use LogisticRegression::save to serialize and store an LogisticRegression to disk. Load the LogisticRegression from this file again, by calling this function with the path to the file. Optionally specify the node for the file containing the classifier
ml_LogisticRegression_load(filepath: EmbindString, nodeName: EmbindString): ml_LogisticRegression | null;2 available overloads
ml_LogisticRegression_load(filepath: EmbindString): ml_LogisticRegression | null;ml_LogisticRegression_load(filepath: EmbindString, nodeName: EmbindString): ml_LogisticRegression | null;filepathpath to serialized LogisticRegression
nodeNamename of node containing the classifier
Returns
The ml_LogisticRegression | 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.