Plotting

holisticai.bias.plots is a python module for quickly producing bias related plots.

Plotters

holisticai.bias.plots.abroca_plot(group_a, ...)

Abroca plot

holisticai.bias.plots.success_rate_curve(...)

Success rate A vs B curve.

holisticai.bias.plots.disparate_impact_curve(...)

Disparate Impact curve

holisticai.bias.plots.statistical_parity_curve(...)

Statistical Parity Curve

holisticai.bias.plots.success_rate_curves(...)

Success Rate Curve

holisticai.bias.plots.rmse_bar_plot(p_attr, ...)

RMSE Bar Plot

holisticai.bias.plots.mae_bar_plot(p_attr, ...)

MAE Bar Plot

holisticai.bias.plots.exposure_diff_plot(...)

Exposure Difference plot.

holisticai.bias.plots.exposure_ratio_plot(...)

Exposure Ratio plot.

holisticai.bias.plots.frequency_plot(p_attr, ...)

Frequency plot.

holisticai.bias.plots.statistical_parity_plot(...)

Statistical Parity Plot (Binary Classification).

holisticai.bias.plots.disparate_impact_plot(...)

Disparate Impact Plot (Binary Classification).

holisticai.bias.plots.frequency_matrix_plot(...)

Frequency Matrix Plot.

holisticai.bias.plots.accuracy_bar_plot(...)

Accuracy Bar Plot.

holisticai.bias.plots.long_tail_plot(mat_pred)

Long Tail Plot.

holisticai.bias.plots.group_pie_plot(y_feat)

Plot a pie chart showing proportions of groups in a feature.

holisticai.bias.plots.distribution_plot(y_feat)

Plot the Kernel Density Estimation (KDE) distribution of the input data.

holisticai.bias.plots.histogram_plot(y_feat)

Plot the histogram for categorical data.