Lift Chart API

class datarobot.models.lift_chart.LiftChart(source, bins)

Lift chart data for model.


source (str) Lift chart data source. Can be ‘validation’, ‘crossValidation’ or ‘holdout’.
bins (list of dict) List of lift chart bins information. Dictionary keys: actual : float Sum of actual target values in bin predicted : float Sum of predicted target values in bin bin_weight : float The weight of the bin. For weighted projects, it is the sum of the weights of the rows in the bin. For unweighted projects, it is the number of rows in the bin.