plots.plot_coverage_vs_confidence

plots.plot_coverage_vs_confidence(
    summary_df,
    title='Coverage and Prediction Set Composition',
)

Plot empirical coverage and prediction set type proportions against confidence level.

Parameters

summary_df : pd.DataFrame

Must contain columns: [‘Confidence’, ‘Coverage’, ‘One_Class_Correct’, ‘One_Class_Incorrect’, ‘Two_Class_Sets’, ‘No_Sets’]

title : str = 'Coverage and Prediction Set Composition'

Title of the plot.

Returns

fig : matplotlib.figure.Figure

The figure object.

ax : matplotlib.axes.Axes

The axes object.