plotMPRIncrementalModelConfusionMatrix: Plots confusion matrix metrics (true/false...

View source: R/metrics_plotting.R

plotMPRIncrementalModelConfusionMatrixR 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.

Description

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.

Usage

plotMPRIncrementalModelConfusionMatrix(
  nullModelResponse,
  fullModelResponse,
  target
)

Arguments

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.


marioni-group/MethylPipeR documentation built on Oct. 10, 2024, 3:32 p.m.