summaryrefslogtreecommitdiff
path: root/bin/analyze-kconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/analyze-kconfig.py')
-rwxr-xr-xbin/analyze-kconfig.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py
index 8fcb623..f2c6f8f 100755
--- a/bin/analyze-kconfig.py
+++ b/bin/analyze-kconfig.py
@@ -504,15 +504,18 @@ def main():
if "table" in args.show_quality or "all" in args.show_quality:
if xv_method is not None:
- print(f"Model error after cross validation ({xv_method}, {xv_count}):")
+ print(
+ f"Model error ({args.error_metric}) after cross validation ({xv_method}, {xv_count}):"
+ )
else:
- print("Model error on training data:")
+ 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,
+ error_metric=args.error_metric,
)
if not args.show_quality: