Visualizes a model's decisions using cumulative SHAP values.
decision_plot(object, class_id = 0, row_idx = -1, dpi = 200, ...)
ShapInterpretation object
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.
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.
dots per inch
additional arguments
None