plot_multiclass_conf_mat {shinymodels}R 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.


[Package shinymodels version 0.1.1 Index]