Skip to content
Snippets Groups Projects
Commit faab42c5 authored by dmt's avatar dmt
Browse files

Log more iteration info.

parent 65e2e50a
No related branches found
No related tags found
No related merge requests found
...@@ -16,9 +16,10 @@ def log_selection(func): ...@@ -16,9 +16,10 @@ def log_selection(func):
str(learnblock.length), str(learnblock.length),
str(learnblock.min_timestamp), str(learnblock.min_timestamp),
str(learnblock.max_timestamp), str(learnblock.max_timestamp),
str(learnblock.relatives), "{:^20}".format(str(learnblock.relatives)),
str(learnblock.n_cluster), str(learnblock.n_cluster),
str(learnblock.feature_count), str(learnblock.feature_count),
"{:<100}".format(str(learnblock.origin))
]) ])
) )
return reduced_learnblock return reduced_learnblock
......
...@@ -18,9 +18,10 @@ def log_construction(func): ...@@ -18,9 +18,10 @@ def log_construction(func):
str(complete_learnblock.length), str(complete_learnblock.length),
str(complete_learnblock.min_timestamp), str(complete_learnblock.min_timestamp),
str(complete_learnblock.max_timestamp), str(complete_learnblock.max_timestamp),
str(complete_learnblock.relatives), "{:^20}".format(str(learnblock.relatives)),
str(complete_learnblock.n_cluster), str(complete_learnblock.n_cluster),
str(complete_learnblock.feature_count) str(complete_learnblock.feature_count),
"{:<100}".format(str(complete_learnblock.origin))
])) ]))
yield complete_learnblock yield complete_learnblock
......
...@@ -21,7 +21,7 @@ def log_learnblock_processing(func): ...@@ -21,7 +21,7 @@ def log_learnblock_processing(func):
str(learnblock.length), str(learnblock.length),
str(learnblock.min_timestamp), str(learnblock.min_timestamp),
str(learnblock.max_timestamp), str(learnblock.max_timestamp),
str(learnblock.relatives), "{:^20}".format(str(learnblock.relatives)),
]) ])
) )
yield learnblock yield learnblock
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment