plot_multiclass_roc {shinymodels}R Documentation

Visualizing the ROC curve for a classification model

Description

This function plots the ROC curve for a classification model.

Usage

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.


[Package shinymodels version 0.1.1 Index]