diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2022-09-22 14:45:58 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2022-09-22 14:45:58 +0200 |
commit | a97bda967b4fbf98c01f31331f823ceb120f02e1 (patch) | |
tree | 20b4ebd61e3fbba311a3f0732651fdcbb153d3f8 /bin | |
parent | 38e8a918b8104a009b63c707ebf07804c6317afa (diff) |
analyze-kconfig: distinguish between training and validation error
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/analyze-kconfig.py | 5 |
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] |