Plot the confusion matrix, with `title` and using `cmap`.

plot_confusion_matrix(
  interp,
  normalize = FALSE,
  title = "Confusion matrix",
  cmap = "Blues",
  norm_dec = 2,
  plot_txt = TRUE,
  figsize = c(4, 4),
  ...,
  dpi = 120
)

Arguments

interp

interpretation object

normalize

normalize

title

title

cmap

color map

norm_dec

norm dec

plot_txt

plot text

figsize

plot size

...

additional parameters to pass

dpi

dots per inch

Value

None

Examples


if (FALSE) {

interp = ClassificationInterpretation_from_learner(model)
interp %>% plot_confusion_matrix(dpi = 90,figsize = c(6,6))

}