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

dependence_plot

Dependence_plot


Description

Plots the value of a variable on the x-axis and the SHAP value of the same variable on the y-axis. Accepts a class_id and variable_name.

Usage

dependence_plot(object, variable_name = "", class_id = 0, dpi = 200, ...)

Arguments

object

ShapInterpretation object

variable_name

the name of the column

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. This plot shows how the model depends on the given variable. Vertical dispersion of the datapoints represent interaction effects. Gray ticks along the y-axis are datapoints where the variable's values were NaN.

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.