summaryrefslogtreecommitdiff
path: root/lib/cli.py
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-02-09 08:21:27 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-02-09 08:21:27 +0100
commitd6ac8c11f2dd957ef721374fa755cc99b09bc7ca (patch)
treed1923cec92ad2ee6276ecd930678897cec59b1ef /lib/cli.py
parentc14e6a92e2239d852d52338af41a4152988e7960 (diff)
--show-model-error: indicate loaded/json model values
Diffstat (limited to 'lib/cli.py')
-rw-r--r--lib/cli.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/cli.py b/lib/cli.py
index c2839fb..e2c8779 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -247,7 +247,14 @@ def format_quality_measures(result, error_metric="smape", col_len=8):
def model_quality_table(
- lut, model, static, model_info, xv_method=None, xv_count=None, error_metric="smape"
+ lut,
+ model,
+ static,
+ model_info,
+ xv_method=None,
+ xv_count=None,
+ error_metric="smape",
+ load_model=False,
):
key_len = len("Key")
attr_len = len("Attribute")
@@ -264,6 +271,8 @@ def model_quality_table(
xv_header = "MC XV"
elif xv_method:
xv_header = "XV"
+ elif load_model:
+ xv_header = "json"
else:
xv_header = "training"