summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-08-26 16:44:31 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2022-08-26 16:44:31 +0200
commit8ddf79066f2a3b307433b44277409040e5d25f2b (patch)
treeb3c1cbc909defb9eee84aaef9559c611e033f644 /bin
parent1f99db1e77e8b66bb3c461c2ebfc609c64371245 (diff)
analyze-kconfig: show_quality: indicate training vs xv data
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-kconfig.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py
index 2cba18e..b22048a 100755
--- a/bin/analyze-kconfig.py
+++ b/bin/analyze-kconfig.py
@@ -435,6 +435,10 @@ 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}):")
+ else:
+ print("Model error on training data:")
dfatool.cli.model_quality_table(
["static", "parameterized", "LUT"],
[static_quality, analytic_quality, lut_quality],