Skip to content

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.