View source: R/fastinference.R
waterfall_plot | R Documentation |
Plots an explanation of a single prediction as a waterfall plot. Accepts a row_index and class_id.
waterfall_plot(object, row_idx = NULL, class_id = 0, dpi = 200, ...)
object |
ShapInterpretation object |
row_idx |
is the index of the row chosen in test_data to be analyzed, which defaults to zero. |
class_id |
Accepts a class_id which 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. |
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.