Calculate all measures for sparse ROC
getThresholdSummary(prediction, predictionType, typeColumn = "evaluation")
A prediction object
The type of prediction (binary or survival)
A column that is used to stratify the results
A data.frame with all the measures
Calculates the TP, FP, TN, FN, TPR, FPR, accuracy, PPF, FOR and Fmeasure from a prediction object