Constructor
new ProbabilisticClassifier()
Extends
Methods
copy(extra) → {module:eclairjs/ml.Predictor}
Parameters:
Name | Type | Description |
---|---|---|
extra |
module:eclairjs/ml/param.ParamMap |
- Inherited From:
- 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
probabilityCol() → {module:eclairjs/ml/param.Param}
Returns:
setFeaturesCol(value) → {module:eclairjs/ml.Predictor}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Inherited From:
- Source:
Returns:
setLabelCol(value) → {module:eclairjs/ml.Predictor}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Inherited From:
- Source:
Returns:
setPredictionCol(value) → {module:eclairjs/ml.Predictor}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Inherited From:
- Source:
Returns:
setProbabilityCol(value) → {object}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
Returns:
- Type
- object
setRawPredictionCol(value) → {module:eclairjs/ml/classification.Classifier}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Inherited From:
- Source:
Returns:
setThresholds(value) → {object}
Parameters:
Name | Type | Description |
---|---|---|
value |
Array.<float> |
Returns:
- Type
- object
thresholds() → {module:eclairjs/ml/param.Param}
Returns:
transformSchema(schema) → {module:eclairjs/sql/types.StructType}
Parameters:
Name | Type | Description |
---|---|---|
schema |
module:eclairjs/sql/types.StructType |
- Inherited From:
- Source: