PySpark API Supportability Matrix | MulticlassClassificationEvaluator | pyspark2teradataml - MulticlassClassificationEvaluator - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Arguments

This function internally uses the following functions:
  • scikit-learn function hammingLoss through teradataml Open source ML functions
  • Analytics Database function ClassificationEvaluator through teradataml Analytics Database 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