Extends
Methods
copy(extra) → {module:eclairjs/ml.Predictor}
Parameters:
Name | Type | Description |
---|---|---|
extra |
module:eclairjs/ml/param.ParamMap |
- Overrides:
- Source:
Returns:
extractParamMap() → {module:eclairjs/ml/param.ParamMap}
- Inherited From:
- Source:
Returns:
fit(dataset, paramMapopt) → {module:eclairjs/ml.Estimator|module:eclairjs/ml/feature.Bucketizer}
Fits a model to the input data.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
dataset |
module:eclairjs/sql.Dataset | ||
paramMap |
module:eclairjs/ml/param.ParamMap |
<optional> |
Parameter map. These values override any specified in this Estimator's embedded ParamMap. |
- Inherited From:
- Source:
Returns:
fitted model
setFeaturesCol(value) → {module:eclairjs/ml.Predictor}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Source:
Returns:
setLabelCol(value) → {module:eclairjs/ml.Predictor}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Source:
Returns:
setPredictionCol(value) → {module:eclairjs/ml.Predictor}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Source:
Returns:
transformSchema(schema) → {module:eclairjs/sql/types.StructType}
Parameters:
Name | Type | Description |
---|---|---|
schema |
module:eclairjs/sql/types.StructType |
- Overrides:
- Source: