plot.model_parts function

Plot Variable Importance Explanations

Plot Variable Importance Explanations

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

Arguments

  • x: an object of the class model_parts
  • ...: other parameters described below

Returns

An object of the class ggplot.

Plot options

variable_importance

  • max_varsmaximal number of features to be included in the plot. default value is 10
  • show_boxplotslogical if TRUE (default) boxplot will be plotted to show permutation data.
  • bar_widthwidth of bars. By default 10
  • desc_sortinglogical. Should the bars be sorted descending? By default TRUE
  • titlethe plot's title, by default 'Feature Importance'
  • subtitlea 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.