summaryrefslogtreecommitdiff
path: root/bin/analyze-kconfig.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-kconfig.py
parent9826f7cbad31ef0e04bf14e8b1ed2e95a81b4054 (diff)
move --show-quality=table header to cli.py
Diffstat (limited to 'bin/analyze-kconfig.py')
-rwxr-xr-xbin/analyze-kconfig.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py
index b114999..bc47242 100755
--- a/bin/analyze-kconfig.py
+++ b/bin/analyze-kconfig.py
@@ -526,18 +526,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,
)