selectROCThreshold: Select the roc threshold with the max F1 score and calculate...

Description Usage Arguments Value

Description

Select the roc threshold with the max F1 score and calculate classification metrics

Usage

1
selectROCThreshold(trainPred)

Arguments

trainPred

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

Value

dataframe of various metrics when using threshold to do classification, including sensitivity, specificity, TP, FP, TN, FN, precision, recall, f1score


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