diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-10 15:41:01 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-10 15:41:01 +0100 |
commit | 5464406fdea0a621d05f53fbe8ba5136f0afd977 (patch) | |
tree | 3dfdd54833c0c89b1e51980cca9812e176b16148 /lib | |
parent | 34e1e445a1c5be892b436632245659f93a36f271 (diff) |
RMT generation: Correctly combine codependent and irrelevant parameters
Previously, codependent parameters where not considered during irrelevant
parameter detection in RMT generation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/parameters.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/parameters.py b/lib/parameters.py index 9a0171b..a71c686 100644 --- a/lib/parameters.py +++ b/lib/parameters.py @@ -1218,8 +1218,10 @@ class ModelAttribute: continue if ignore_irrelevant_parameters: - std_by_param = _mean_std_by_param( - by_param, distinct_values_by_param_index, param_index + std_by_param = _mean_std_by_params( + by_param, + distinct_values_by_param_index, + list(self.ignore_param.keys()) + [param_index], ) if not _depends_on_param( None, std_by_param, std_lut, relevance_threshold |