Description Usage Arguments Value
Select the roc threshold with the max F1 score and calculate classification metrics
1 | selectROCThreshold(trainPred)
|
trainPred |
An object of class prediction, predicted values and ground truth, input to |
dataframe of various metrics when using threshold to do classification, including sensitivity, specificity, TP, FP, TN, FN, precision, recall, f1score
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.