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, ...)
ShapInterpretation object
is the index of the row chosen in test_data to be analyzed, which defaults to zero.
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.
dots per inch
additional arguments
None