summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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,