ezr.auc: Calculate AUC from FPR/TPR or from Truth & Prediction

Description Usage Arguments Value

Description

Get the AUC. You can input either a truth & a prediction or the TPR & FPR values. Works on both H2o Dataframes and regular R dataframes

Usage

1
ezr.auc(dataset, fpr_or_truth, tpr_or_pred, use_truth_and_preds = TRUE)

Arguments

dataset

dataset.

fpr_or_truth

either the FPR or the truth value.

tpr_or_pred

either the TPR or the prediction value

use_truth_and_preds

Default is TRUE - expects 0s and 1s for truth and a numerical value. Set to false if you already have the TPR and FPR.

Value

returns the AUC.


jmp1989/easyr documentation built on May 20, 2019, 7:25 a.m.