Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion matrix proportions #509

Open
jxu opened this issue May 14, 2024 · 0 comments
Open

Confusion matrix proportions #509

jxu opened this issue May 14, 2024 · 0 comments

Comments

@jxu
Copy link

jxu commented May 14, 2024

It would be nice to have a flag to compute proportions out of total instead of counts.

conf_mat object is not a matrix, so I can't do something like conf_mat(data, truth, pred) / nrow(data), but I can do it by passing it to tidy.
Is there a simple function to turn conf_mat object into plain matrix or tibble, keeping the 2x2 layout?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant