Constructor
new OneVsRestModel(labelMetadata, models)
Parameters:
Name |
Type |
Description |
labelMetadata |
|
Metadata of label column if it exists, or Nominal attribute
representing the number of classes in training dataset otherwise. |
models |
|
The binary classification models for the reduction.
The i-th model is produced by testing the i-th class (taking label 1) vs the rest
(taking label 0). |
- Source:
Extends
Methods
(static) load(path) → {OneVsRestModel}
Parameters:
Name |
Type |
Description |
path |
string
|
|
- Source:
Returns:
-
Type
-
OneVsRestModel
(static) read() → {MLReader}
- Source:
Returns:
-
Type
-
MLReader
copy(extra) → {OneVsRestModel}
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
OneVsRestModel
hasParent() → {Promise.<boolean>}
Indicates whether this Model has a corresponding parent.
- Inherited From:
- Source:
Returns:
-
Type
-
Promise.<boolean>
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml.Estimator
setParent(parent) → {object}
Sets the parent of this model.
Parameters:
- Inherited From:
- Source:
Returns:
-
Type
-
object
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
DataFrame
Parameters:
- Source:
Returns:
-
Type
-
StructType
- Source:
Returns:
-
Type
-
MLWriter