plot_twoclass_conf_mat: Visualizing the confusion matrix for a classification model

View source: R/two_class_diag_plots.R

plot_twoclass_conf_matR Documentation

Visualizing the confusion matrix for a classification model

Description

This function plots the confusion matrix for a classification model.

Usage

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