LiftChartResult#
- class superglm.LiftChartResult(bins: pd.DataFrame, figure: Figure | None)#
Bases:
objectResult from
superglm.lift_chart().- Attributes:
- binspd.DataFrame
One row per quantile bin with columns:
bin,exposure_share,observed,predicted,obs_pred_ratio.- figurematplotlib.figure.Figure or None
The generated figure, or
Noneif an externalaxwas provided.