perfCalc: Computes variety of predictor evaluation measures based on...

Description Usage Arguments Value Examples

View source: R/perfCalc.R

Description

Computes variety of predictor evaluation measures based on the confusion matrix

Usage

1
perfCalc(dat)

Arguments

dat

(data.frame): 5 columns: score, tp, fp, tn, fn. One row per cutoff score for feature selection

Value

(list) stats (data.frame): score, f1, ppv, precision and recall. One row per cutoff for feature selection auc (numeric between 0 and 1): AUC of overall ROC curve prauc (numeric between 0 and 1): AUC of overall precision-recall curve

Examples

1
2

netDx documentation built on Dec. 11, 2020, 2:01 a.m.