PySpark API Supportability Matrix | MulticlassClassificationEvaluator | pyspark2teradataml - MulticlassClassificationEvaluator - Teradata Package for Python

Teradata® pyspark2teradataml User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
December 2024
ft:locale
en-US
ft:lastEdition
2024-12-18
dita:mapPath
oeg1710443196055.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
oeg1710443196055
Product Category
Teradata Vantage

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