diff --git a/Experiments/create_tabular.py b/Experiments/create_tabular.py index 3d128431359c29961892df2f49e3a2f11720f450..bd7f32370c5e625caaa36bd206efe82c6ca9961a 100644 --- a/Experiments/create_tabular.py +++ b/Experiments/create_tabular.py @@ -13,23 +13,28 @@ for filename in list_of_result_files: results[data] = json.load(f) ## header -header_string = 'DATA' +header_string = 'DATA ' +offset = 20 for metric in metrics_to_display: - header_string += f' {metric}' + header_string += f' {metric} ' print(header_string) +print(offset * '_' + 70 * '_') ## results for data in results.keys(): noneiv_results = [results[data]['noneiv'][metric] for metric in metrics_to_display] - noneiv_results_string = f'{data} - nonEiV:' + noneiv_row_name = f'{data} - nonEiV:' + noneiv_results_string = noneiv_row_name + (offset - len(noneiv_row_name)) * ' ' for [metric_mean, metric_std] in noneiv_results: noneiv_results_string += f' {metric_mean:.3f} ({metric_std:.3f})' print(noneiv_results_string) eiv_results = [results[data]['eiv'][metric] for metric in metrics_to_display] - eiv_results_string = f'{data} - EiV:' + eiv_row_name = f'{data} - EiV:' + eiv_results_string = eiv_row_name + (offset - len(eiv_row_name)) * ' ' for [metric_mean, metric_std] in eiv_results: eiv_results_string += f' {metric_mean:.3f} ({metric_std:.3f})' print(eiv_results_string) + print(offset * '_' + 70 * '_') diff --git a/README.md b/README.md index 7551f09f52640d3d685e875c5b36ddd3d99c1fef..7547a9ddf61f21fe3abacba7584910cedd0dfe34 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,9 @@ pip install EIVPackage/ Installing this package will make 3 modules available to the python environment: `EIVArchitectures` (for building EiV Models), `EIVTrainingRoutines` (containing a general training framework), `EIVGeneral` (containing a single module needed for repeated sampling). +## Missing ++ Tell to create folders, like `Experiments/results` + ## Contributing Will be completed upon publication. The code will be made publically available on a repository under a BSD-like license.