plot_multiclass_roc: Visualizing the ROC curve for a classification model

Description Usage Arguments Value

View source: R/multi_class_diag_plots.R

Description

This function plots the ROC curve for a classification model.

Usage

1
plot_multiclass_roc(dat, y_name)

Arguments

dat

The predictions data frame in the organize_data() result. Following variables are required: .outcome, .pred, .color, and .hover.

y_name

The y/response variable for the model.

Value

A plotly::ggplotly() object.


shinymodels documentation built on Nov. 18, 2021, 1:12 a.m.