summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-09-22 14:45:58 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2022-09-22 14:45:58 +0200
commita97bda967b4fbf98c01f31331f823ceb120f02e1 (patch)
tree20b4ebd61e3fbba311a3f0732651fdcbb153d3f8 /bin
parent38e8a918b8104a009b63c707ebf07804c6317afa (diff)
analyze-kconfig: distinguish between training and validation error
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-kconfig.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py
index cbf16e0..d13e842 100755
--- a/bin/analyze-kconfig.py
+++ b/bin/analyze-kconfig.py
@@ -468,7 +468,10 @@ def main():
)
if not args.show_quality:
- print("Model Error on Training Data:")
+ if xv_method is not None:
+ print(f"Model Error after Cross Validation ({xv_method}, {xv_count}):")
+ else:
+ print("Model Error on Training Data:")
for name in sorted(model.names):
for attribute, error in sorted(
analytic_quality[name].items(), key=lambda kv: kv[0]