plotImportance: Plot function for feature importance

Description Usage Arguments References

View source: R/plotImportance.R

Description

Allows to visualize the PI or ICI curves.

Usage

1
2
3
4
5
6
7
8
plotImportance(
  importance,
  feature,
  mid,
  individual = FALSE,
  hline = TRUE,
  grid.points = TRUE
)

Arguments

importance

[featureImportance | data.frame]
Object of class featureImportance or a data.frame containing the same information as the result of the featureImportance's $importance slot.

feature

[character(1)]
The feature for which the PI or ICI curves should be visualized.

mid

[character(1)]
The measure name used for computing the feature importance.

individual

[logical(1)]
If TRUE, the ICI curves are additionally plotted. Otherwise only the PI curve is plotted.

hline

[logical(1)]
Whether a horizontal line should be plotted whose y-position refers to the feature importance of the considered feature.

grid.points

[logical(1)]
Whether points should be plotted whose x-position refer to the feature values used to compute the curves.

References

Casalicchio, G., Molnar, M., & Bischl, B. (2018). Visualizing the Feature Importance for Black Box Models. arXiv preprint arXiv:1804.06620 (2018).


giuseppec/featureImportance documentation built on June 1, 2021, 11:04 a.m.