Visualizations for mlr3::TaskClassif.
The argument type
controls what kind of plot is drawn.
Possible choices are:
"target"
(default): Bar plot of the target variable (default)."duo"
: Passes data toGGally::ggduo()
.columnsX
is the target andcolumnsY
are the features."pairs"
: Passes data toGGally::ggpairs()
. Color is set to target column.
Usage
# S3 method for class 'TaskClassif'
autoplot(object, type = "target", theme = theme_minimal(), ...)
Arguments
- object
- type
(character(1)):
Type of the plot. See description.- theme
(
ggplot2::theme()
)
Theggplot2::theme_minimal()
is applied by default to all plots.- ...
(ignored).