getROC_PR: depends on ROCR

Description Usage Arguments Value

Description

Get the ROC and PR curve from model probabilies.

Usage

1
getROC_PR(prob, round = TRUE)

Arguments

prob

An object of class prediction, predicted values and ground truth, input to performance

round

logical, whether to round roc and pr axis values to 3 decimals.

Value

list of dataframes roc and pr x and y data points, and the area under the curves.


novasmedley/gbmSpm documentation built on May 17, 2019, 10:39 a.m.