waterfall_plot#

class predict_backend.page.elements.waterfall_plot.DataType(value)#

Bases: Enum

An enumeration.

CATEGORICAL = 'categorical'#
NUMERICAL = 'numerical'#
class predict_backend.page.elements.waterfall_plot.WaterfallPlot(title, expected, returned, pred_explanation, x_axis_label, data, orientation=PlotOrientation.LANDSCAPE, description='', positive_color=None, negative_color=None, expected_title=None, predicted_title=None, show_title=True, show_description=True)#

Bases: Plot

to_json()#

Convert the element to a JSON.

Returns:

A JSON dictionary of the element.

class predict_backend.page.elements.waterfall_plot.WaterfallPlotData(name, weight, value, explanation, type, _min=None, _max=None, percentile=None, count=None, frequency=None)#

Bases: object

to_json()#