View source: R/ThresholdSummary.R
getThresholdSummary | R Documentation |
Calculate all measures for sparse ROC
getThresholdSummary(prediction, predictionType, typeColumn = "evaluation")
prediction |
A prediction object |
predictionType |
The type of prediction (binary or survival) |
typeColumn |
A column that is used to stratify the results |
Calculates the TP, FP, TN, FN, TPR, FPR, accuracy, PPF, FOR and Fmeasure from a prediction object
A data.frame with all the measures
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.