Learn R Programming

PatientLevelPrediction (version 3.0.0)

getThresholdSummary: Calculate all measures for sparse ROC

Description

Calculate all measures for sparse ROC

Usage

getThresholdSummary(prediction)

Arguments

prediction

A prediction object as generated using the predictProbabilities function.

Value

A data.frame with all the measures

Details

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