Arguments
This function internally uses the following functions:
- scikit-learn function hammingLoss through teradataml Open source ML functions
- Database Engine 20 function ClassificationEvaluator through teradataml Database Engine 20 functions.
Getter, Setter, Generic and Attribute with respect to labelCol, predictionCol, and weightCol won’t work.
| PySpark Argument Name | Open Source Function Argument Name | Notes |
|---|---|---|
| beta | beta | |
| eps | eps | |
| labelCol | observation_column | |
| metricLabel | Not yet available. | |
| metricName | Supported metric ["f1","accuracy","weightedPrecision","weightedRecall","weightedFMeasure","truePositiveRateByLabel","falsePositiveRateByLabel","precisionByLabel","recallByLabel","fMeasureByLabel","hammingLoss", "weightedTruePositiveRate", "weightedFalsePositiveRate"] | |
| predictionCol | prediction_column | |
| probabilityCol | Not yet available. | |
| weightCol | Not yet available. |
Attributes/Methods
| Attribute/Method Name | Supported | Notes |
|---|---|---|
| clear | ||
| copy | ||
| evaluate | ||
| explainParam | ||
| explainParams | ||
| extractParamMap | ||
| getBeta | ||
| getEps | ||
| getLabelCol | ||
| getMetricLabel | ||
| getMetricName | ||
| getOrDefault | ||
| getParam | ||
| getPredictionCol | ||
| getProbabilityCol | ||
| getWeightCol | ||
| hasDefault | ||
| hasParam | ||
| isDefined | ||
| isLargerBetter | ||
| isSet | ||
| load | ||
| read | ||
| save | ||
| set | ||
| setBeta | ||
| setEps | ||
| setLabelCol | ||
| setMetricLabel | ||
| setMetricName | ||
| setParams | ||
| setPredictionCol | ||
| setProbabilityCol | ||
| setWeightCol | ||
| write | ||
| beta | ||
| eps | ||
| metricLabel | ||
| metricName | ||
| params | ||
| predictionCol | ||
| probabilityCol | ||
| weightCol |