Produces a styled gt confusion matrix with correct predictions highlighted. Only available for classification models.
Value
A gt table object.
Examples
# \donttest{
model <- tl_model(iris, Species ~ ., method = "forest")
tl_table_confusion(model)
Confusion Matrix
setosa
versicolor
virginica
tidylearn | forest (classification) | Species ~ . | n = 150
# }
