View source: R/metrics_plotting.R
plotMPRIncrementalModelConfusionMatrix | R Documentation |
Plots confusion matrix metrics (true/false positives/negatives) at a range of probability thresholds (from 0.1 to 1, inclusive, in steps of 0.1) given two sets of predicted probabilities (from two different models) and a binary target vector of ground truth class labels.
plotMPRIncrementalModelConfusionMatrix(
nullModelResponse,
fullModelResponse,
target
)
nullModelResponse |
A vector of predicted probabilities from the null model |
fullModelResponse |
A vector of predicted probabilities from the full model |
target |
A binary vector of ground truth class labels. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.