listMeasures
or as a table
in the tutorial appendix: http://mlr-org.github.io/mlr-tutorial/release/html/measures/. If you want a measure for a misclassification cost matrix, look at makeCostMeasure
.
If you want to implement your own measure, look at makeMeasure
. Most measures can directly be accessed via the function named after the scheme measureX (e.g. measureSSE). For clustering measures, we compact the predicted cluster IDs such that they form a continuous series
starting with 1. If this is not the case, some of the measures will generate warnings.featperctimetrain
timepredict
timeboth
sse
measureSSE(truth, response)
mse
measureMSE(truth, response)
rmse
measureRMSE(truth, response)
medse
measureMEDSE(truth, response)
sae
measureSAE(truth, response)
mae
measureMAE(truth, response)
medae
measureMEDAE(truth, response)
rsq
measureRSQ(truth, response)
expvar
measureEXPVAR(truth, response)
arsq
rrse
measureRRSE(truth, response)
rae
measureRAE(truth, response)
mape
measureMAPE(truth, response)
msle
measureMSLE(truth, response)
rmsle
mmce
measureMMCE(truth, response)
acc
measureACC(truth, response)
ber
multiclass.aunu
measureAUNU(probabilities, truth)
multiclass.aunp
measureAUNP(probabilities, truth)
multiclass.au1u
measureAU1U(probabilities, truth)
multiclass.au1p
measureAU1P(probabilities, truth)
multiclass.brier
measureMulticlassBrier(probabilities, truth)
logloss
measureLogloss(probabilities, truth)
ssr
measureSSR(probabilities, truth)
qsr
measureQSR(probabilities, truth)
lsr
measureLSR(probabilities, truth)
kappa
measureKAPPA(truth, response)
wkappa
measureWKAPPA(truth, response)
auc
measureAUC(probabilities, truth, negative, positive)
brier
measureBrier(probabilities, truth, negative, positive)
brier.scaled
measureBrierScaled(probabilities, truth, negative, positive)
bac
measureBAC(truth, response, negative, positive)
tp
measureTP(truth, response, positive)
tn
measureTN(truth, response, negative)
fp
measureFP(truth, response, positive)
fn
measureFN(truth, response, negative)
tpr
measureTPR(truth, response, positive)
tnr
measureTNR(truth, response, negative)
fpr
measureFPR(truth, response, negative, positive)
fnr
measureFNR(truth, response, negative, positive)
ppv
measurePPV(truth, response, positive)
npv
measureNPV(truth, response, negative)
fdr
measureFDR(truth, response, positive)
mcc
measureMCC(truth, response, negative, positive)
f1
gmean
measureGMEAN(truth, response, negative, positive)
gpr
measureGPR(truth, response, positive)
multilabel.hamloss
measureMultilabelHamloss(truth, response)
multilabel.subset01
measureMultilabelSubset01(truth, response)
multilabel.f1
measureMultiLabelF1(truth, response)
multilabel.acc
measureMultilabelACC(truth, response)
multilabel.ppv
measureMultilabelPPV(truth, response)
multilabel.tpr
measureMultilabelTPR(truth, response)
cindex
meancosts
mcp
db
dunn
G1
G2
silhouette
factor
]
Vector of the true class.factor
]
Vector of the predicted class.numeric
| matrix
]
a) For purely binary classification measures: The predicted probabilities for the positive class as a numeric vector.
b) For multiclass classification measures: The predicted probabilities for all classes, always as a numeric matrix, where
columns are named with class labels.character(1)
]
The name of the negative class.character(1)
]
The name of the positive class.ConfusionMatrix
,
calculateConfusionMatrix
,
calculateROCMeasures
,
estimateRelativeOverfitting
,
makeCostMeasure
,
makeCustomResampledMeasure
,
makeMeasure
, performance