namespace inner
analytics~ preprocessing
Source: analyticsdoc.
Preprocessing functions for preparing labels in formats accepted by learning modules in module:analytics.
Method
Class
Binarizer
Method
static
applyModel(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.Vector
B The dense vector where the i-th value is the value themodel.decisionFunction
returned for the sparse vectorX[i]
.