summaryrefslogtreecommitdiff
path: root/bin/analyze-log.py
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-01-11 14:07:56 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-01-11 14:07:56 +0100
commit59e35e5112db018a3ba150c4a661292a154398e3 (patch)
tree2c16cf071af42c270b99b1c0b76aa33365445e3a /bin/analyze-log.py
parent9826f7cbad31ef0e04bf14e8b1ed2e95a81b4054 (diff)
move --show-quality=table header to cli.py
Diffstat (limited to 'bin/analyze-log.py')
-rwxr-xr-xbin/analyze-log.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/analyze-log.py b/bin/analyze-log.py
index c74e206..be11f5d 100755
--- a/bin/analyze-log.py
+++ b/bin/analyze-log.py
@@ -223,18 +223,13 @@ def main():
)
if "table" in args.show_quality or "all" in args.show_quality:
- if xv_method is not None:
- print(
- f"Model error ({args.error_metric}) after cross validation ({xv_method}, {xv_count}):"
- )
- else:
- print(f"Model error ({args.error_metric}) on training data:")
dfatool.cli.model_quality_table(
lut=lut_quality,
model=analytic_quality,
static=static_quality,
model_info=param_info,
xv_method=xv_method,
+ xv_count=xv_count,
error_metric=args.error_metric,
)