get.performance.measures: Get performance measures

Description Usage Arguments

View source: R/get.performance.measures.R

Description

This function exports confusion matrix (i.e., true positive, false positive, true negative, and false negative) and calculates 11 performance measures. The performance measures are AUC, Precision, Recall, False Positive Rate, True Negative Rate, F-measure, Accuracy, MCC, G-mean, G-measure, and Balance.

Usage

1
get.performance.measures(outcome, prob, threshold = 0.5)

Arguments

outcome

a vector of the outcome labels.

prob

a numeric vector of the predicted probability.

threshold

a numeric threshold for the predicted probability. A predicted probability of above a threshold is considered a positive prediction.


jirayusjiar/Jmisc documentation built on May 17, 2019, 8:48 p.m.