plot.model_parts: Plot Variable Importance Explanations

View source: R/plot_model_parts.R

plot.model_partsR Documentation

Plot Variable Importance Explanations

Description

Plot Variable Importance Explanations

Usage

## S3 method for class 'model_parts'
plot(x, ...)

Arguments

x

an object of the class model_parts

...

other parameters described below

Value

An object of the class ggplot.

Plot options

variable_importance

  • max_vars maximal number of features to be included in the plot. default value is 10

  • show_boxplots logical if TRUE (default) boxplot will be plotted to show permutation data.

  • bar_width width of bars. By default 10

  • desc_sorting logical. Should the bars be sorted descending? By default TRUE

  • title the plot's title, by default 'Feature Importance'

  • subtitle a character. Plot subtitle. By default NULL - then subtitle is set to "created for the XXX, YYY model", where XXX, YYY are labels of given explainers.


DALEX documentation built on Jan. 16, 2023, 1:06 a.m.