Calculate all measures for sparse ROC

getThresholdSummary(prediction, predictionType, typeColumn = "evaluation")

Arguments

prediction

A prediction object

predictionType

The type of prediction (binary or survival)

typeColumn

A column that is used to stratify the results

Value

A data.frame with all the measures

Details

Calculates the TP, FP, TN, FN, TPR, FPR, accuracy, PPF, FOR and Fmeasure from a prediction object