Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

decision_plot

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


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.