decision_plot {fastai}R Documentation

Decision_plot

Description

Visualizes a model's decisions using cumulative SHAP values.

Usage

decision_plot(object, class_id = 0, row_idx = -1, dpi = 200, ...)

Arguments

object

ShapInterpretation object

class_id

is used to indicate the class of interest for a classification model. It can either be an int or str representation for a class of choice. Each colored line in the plot represents the model's prediction for a single observation.

row_idx

If no index is passed in to use from the data, it will default to the first ten samples on the test set. Note:plotting too many samples at once can make the plot illegible.

dpi

dots per inch

...

additional arguments

Value

None


[Package fastai version 2.2.2 Index]