plot confusion matrix r code example
Example: how to make confusion matrix in r
library(caret)
confusionMatrix(data = your_prediction,
reference = data$y)
library(caret)
confusionMatrix(data = your_prediction,
reference = data$y)