waterfall_plot: Waterfall_plot

View source: R/fastinference.R

waterfall_plotR Documentation

Waterfall_plot

Description

Plots an explanation of a single prediction as a waterfall plot. Accepts a row_index and class_id.

Usage

waterfall_plot(object, row_idx = NULL, class_id = 0, dpi = 200, ...)

Arguments

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

Value

None


fastai documentation built on June 22, 2024, 11:15 a.m.