getThresholdSummary: Calculate all measures for sparse ROC

View source: R/ThresholdSummary.R

getThresholdSummaryR Documentation

Calculate all measures for sparse ROC

Description

Calculate all measures for sparse ROC

Usage

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

Details

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

Value

A data.frame with all the measures


OHDSI/PatientLevelPrediction documentation built on April 6, 2024, 11:50 p.m.