View source: R/test.R View source: R/stats.R
plot_confusion_matrix | R Documentation |
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
)
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 |
None
## Not run:
interp = ClassificationInterpretation_from_learner(model)
interp %>% plot_confusion_matrix(dpi = 90,figsize = c(6,6))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.