Add version info to Reports

This commit is contained in:
2021-12-17 13:21:35 +01:00
parent 83f2fb37d1
commit cc14d338f8
2 changed files with 6 additions and 2 deletions

View File

@@ -136,7 +136,8 @@ class Report(BaseReport):
self._compare_totals = {}
self.header_line("*")
self.header_line(
f" Report {self.data['model']} with {self.data['folds']} Folds "
f" Report {self.data['model']} ver. {self.data['version']}"
f" with {self.data['folds']} Folds "
f"cross validation and {len(self.data['seeds'])} random seeds"
)
self.header_line(
@@ -262,7 +263,8 @@ class Excel(BaseReport):
self.sheet.write(
0,
0,
f" Report {self.data['model']} with {self.data['folds']} Folds "
f" Report {self.data['model']} ver. {self.data['version']}"
f" with {self.data['folds']} Folds "
f"cross validation and {len(self.data['seeds'])} random seeds",
header,
)