Constructor
new CrossValidatorModel(bestModel, avgMetrics)
Parameters:
Name |
Type |
Description |
bestModel |
|
The best model selected from k-fold cross validation. |
avgMetrics |
|
Average cross-validation metrics for each paramMap in
estimatorParamMaps, in the corresponding order. |
- Source:
Extends
Methods
(static) load(path) → {CrossValidatorModel}
Parameters:
Name |
Type |
Description |
path |
string
|
|
- Source:
Returns:
-
Type
-
CrossValidatorModel
(static) read() → {MLReader}
- Source:
Returns:
-
Type
-
MLReader
copy(extra) → {CrossValidatorModel}
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
CrossValidatorModel
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
-
Dataset
Parameters:
- Source:
Returns:
-
Type
-
StructType
- Source:
Returns:
-
Type
-
MLWriter