diff options
-rwxr-xr-x | bin/analyze-kconfig.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py index e0f50a5..8aa8c93 100755 --- a/bin/analyze-kconfig.py +++ b/bin/analyze-kconfig.py @@ -298,8 +298,10 @@ def main(): ) print("Model Error on Training Data:") - for name in model.names: - for attribute, error in analytic_quality[name].items(): + for name in sorted(model.names): + for attribute, error in sorted( + analytic_quality[name].items(), key=lambda kv: kv[0] + ): mae = error["mae"] smape = error["smape"] print(f"{name:15s} {attribute:20s} ± {mae:10.2} / {smape:5.1f}%") |