diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2022-10-27 08:02:31 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2022-10-27 08:02:31 +0200 |
commit | d5d7b960882662d218664ed669fc4dfd034fde33 (patch) | |
tree | bef6d9ea4d044b79068d82b6b35f897e8116ffd9 /lib/parameters.py | |
parent | 5d0c06b49c3001be3fc7a445fb439d87df36f6c4 (diff) |
param: export LUT complexity
Diffstat (limited to 'lib/parameters.py')
-rw-r--r-- | lib/parameters.py | 4 |
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, |