confu_mat: Flat confusion matrix

View source: R/confu_mat.R

confu_matR Documentation

Flat confusion matrix

Description

Flat confusion matrix

Usage

confu_mat(pred, true, case_name = NULL, positive = TRUE)

Arguments

pred

Predicted classes.

true

True classes.

case_name

Name added to the tibble.

positive

Value for the positive class.

Value

A flat confusion matrix accuracy measures.


JBGruber/smlhelper documentation built on Oct. 7, 2022, 3:43 p.m.