summaryrefslogtreecommitdiff
path: root/lib/parameters.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-10-27 08:02:31 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2022-10-27 08:02:31 +0200
commitd5d7b960882662d218664ed669fc4dfd034fde33 (patch)
treebef6d9ea4d044b79068d82b6b35f897e8116ffd9 /lib/parameters.py
parent5d0c06b49c3001be3fc7a445fb439d87df36f6c4 (diff)
param: export LUT complexity
Diffstat (limited to 'lib/parameters.py')
-rw-r--r--lib/parameters.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/parameters.py b/lib/parameters.py
index 00260fc..7f48dcc 100644
--- a/lib/parameters.py
+++ b/lib/parameters.py
@@ -643,7 +643,9 @@ class ModelAttribute:
ret = {"mean": (self.mean, unit), "median": (self.median, unit)}
if issubclass(type(self.model_function), df.ModelFunction):
- ret["complexity"] = self.model_function.get_complexity_score()
+ ret["model/complexity"] = self.model_function.get_complexity_score()
+ if self.by_param:
+ ret["lut/complexity"] = len(self.by_param.keys()) + 1
if type(self.model_function) in (
df.SplitFunction,