Protected
Readonly
dataThe data object to format input.
Protected
Readonly
loadingThe way to load the model with getModel, once loaded this field is never used again.
Protected
modelThe model field or null if getModel has never been called.
The loaded model instance. If there was no call of getModel, throw an error instead.
Loads the model (if it has never been done before) and returns it.
A promise of the loaded model.
Given a record of mouse features, use both data and model fields to format the record and predict a list of values, each element is a probability corresponding to an element of the dataset to be a bot trajectory.
The record object with computed mouse features.
An optional boolean, if true then we reshape the dataset to have a single element with all our data, so the returned list should have a single element (a single prediction), otherwise the model predict element by element and returns the prediction array. All models do not support modified input shape.
Generated using TypeDoc
An implementation of Model for Random Forest classifiers. The loadingPath is directly sent to loadFile then parsed to JSON format and loaded with RandomForestClassifier.load.
See
Model