plot_multiclass_conf_mat: Visualizing the confusion matrix for a classification model

View source: R/multi_class_diag_plots.R

plot_multiclass_conf_matR Documentation

Visualizing the confusion matrix for a classification model

Description

This function plots the confusion matrix for a classification model.

Usage

plot_multiclass_conf_mat(dat)

Arguments

dat

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

Value

A plotly::ggplotly() object.


shinymodels documentation built on May 29, 2024, 2:22 a.m.