Learn R Programming

mlr (version 2.2)

measures: Performance measures.

Description

A performance measure is evaluated after a single train/predict step and returns a single number to assess the quality of the prediction (or maybe only the model, think AIC). The measure itself knows whether it wants to be minimized or maximized and for what tasks it is applicable.

All supported measures can be found by listMeasures or as a table in the tutorial appendix: http://berndbischl.github.io/mlr/tutorial/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.

Usage

featperc

timetrain

timepredict

timeboth

sse

mse

rmse

medse

sae

mae

medae

mmce

acc

ber

multiclass.auc

auc

bac

tp

tn

fp

fn

tpr

tnr

fpr

fnr

ppv

npv

fdr

mcc

f1

gmean

gpr

cindex

meancosts

mcp

db

dunn

G1

G2

silhouette

Arguments

docType

data

format

none

See Also

Other performance: Measure, makeMeasure; makeCostMeasure; makeCustomResampledMeasure; performance