mirror of
https://github.com/Doctorado-ML/Stree_datasets.git
synced 2025-08-15 15:36:01 +00:00
Update analysis and report mysql
This commit is contained in:
@@ -54,7 +54,7 @@ def report_header(exclude_params):
|
||||
|
||||
def report_line(record, agg):
|
||||
accuracy = record[5]
|
||||
expected = record[10]
|
||||
expected = record[13]
|
||||
if accuracy < expected:
|
||||
agg["worse"] += 1
|
||||
sign = "-"
|
||||
@@ -84,7 +84,7 @@ def report_footer(agg):
|
||||
TextColor.MAGENTA + f"we have equal results {agg['equal']:2d} times"
|
||||
)
|
||||
color = TextColor.LINE1
|
||||
for item in ["stree", "bagging", "adaBoost", "odte"]:
|
||||
for item in models:
|
||||
print(color + f"{item:10s} used {agg[item]:2d} times")
|
||||
color = (
|
||||
TextColor.LINE2 if color == TextColor.LINE1 else TextColor.LINE1
|
||||
|
Reference in New Issue
Block a user