mlproject.postprocess.utils

mlproject.postprocess.utils#

Misc postprocessing utility functions

Functions

caclulate_percent_folds_improved

Calculate the percentage of folds that showed improvement from baseline to new scores.

calculate_cohens_d_av

Calculate Cohen's d_av between two sets of scores.

calculate_relative_percentage_improvement

Calculate the relative percentage improvement from baseline to new scores.

get_ttest_summary_df

Get t-test model summary dataframe including effect size and relative improvement.

load_cv_results

Load cross-validation results and aggregate test MAE errors.

mean_absolute_percentage_error

Compute mean absolute percentage error, masked

significance_stars

Return significance stars based on p-value