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
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
module:eclairjs/ml/classification.OneVsRestModel
hasParent() → {boolean}
- Inherited From:
- Source:
Returns:
-
Type
-
boolean
Parameters:
Name |
Type |
Description |
path |
string
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/ml/classification.OneVsRestModel
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml.Estimator
- Source:
Returns:
-
Type
-
module:eclairjs/ml/util.MLReader
setParent(parent) → {object}
Sets the parent of this model.
Parameters:
- Inherited From:
- Source:
Returns:
-
Type
-
object
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
DataFrame
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
module:eclairjs/sql/types.StructType
uid() → {string}
An immutable unique ID for the object and its derivatives.
- Source:
Returns:
-
Type
-
string
- Source:
Returns:
-
Type
-
module:eclairjs/ml/util.MLWriter