decision_plot: Decision_plot

Description Usage Arguments Value

View source: R/fastinference.R

Description

Visualizes a model's decisions using cumulative SHAP values.

Usage

1
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


fastai documentation built on July 28, 2021, 5:06 p.m.