Learn R Programming

tidylearn (version 0.1.0)

tl_plot_roc: Plot ROC curve for a classification model

Description

Plot ROC curve for a classification model

Usage

tl_plot_roc(model, new_data = NULL, ...)

Value

A ggplot object with ROC curve

Arguments

model

A tidylearn classification model object

new_data

Optional data frame for evaluation (if NULL, uses training data)

...

Additional arguments