namespace inneranalytics~ preprocessing
Source: analyticsdoc.
Preprocessing functions for preparing labels in formats accepted by learning modules in module:analytics.
Method
Class
Binarizer
Method
staticapplyModel(model, X) → module:la.Vector
Applies the model's decisionFunction method (if exists) on each column of matrix X.
Example
// TODO
Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
|
model |
Object |
|
The model, that has the |
|
X |
|
The matrix. |
- Returns
-
module:la.VectorThe dense vector where the i-th value is the value themodel.decisionFunctionreturned for the sparse vectorX[i].