mirror of
https://github.com/Doctorado-ML/Stree_datasets.git
synced 2025-08-15 23:46:03 +00:00
Better summary table
This commit is contained in:
@@ -176,13 +176,16 @@ def report_line(line):
|
||||
def report_footer(agg):
|
||||
length = sum(lengths) + len(lengths) - 1
|
||||
print("-" * length)
|
||||
color = TextColor.LINE1
|
||||
color = TextColor.LINE2
|
||||
print(color + "|{0:15s}|{1:6s}|".format("Classifier", "# Best"))
|
||||
print(color + "=" * 24)
|
||||
for item in models:
|
||||
print(color + f"{item:10s} ", end="")
|
||||
print(color + f"best of models {agg[item]['best']:2d} times")
|
||||
print(color + f"|{item:15s}", end="|")
|
||||
print(color + f"{agg[item]['best']:6d}|")
|
||||
color = (
|
||||
TextColor.LINE2 if color == TextColor.LINE1 else TextColor.LINE1
|
||||
)
|
||||
print("-" * 24)
|
||||
|
||||
|
||||
(experiment, model_type, csv_output, tex_output, compare) = parse_arguments()
|
||||
|
Reference in New Issue
Block a user