plot_confusion_matrix {fastai} | R Documentation |
Plot_confusion_matrix
Description
Plot the confusion matrix, with 'title' and using 'cmap'.
Usage
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
## Not run:
interp = ClassificationInterpretation_from_learner(model)
interp %>% plot_confusion_matrix(dpi = 90,figsize = c(6,6))
## End(Not run)
[Package fastai version 2.2.2 Index]