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