View source: R/fastinference.R
decision_plot | R Documentation |
Visualizes a model's decisions using cumulative SHAP values.
decision_plot(object, class_id = 0, row_idx = -1, dpi = 200, ...)
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 |
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.