summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-12-23 16:16:58 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2022-12-23 16:16:58 +0100
commit131c0b1026bd8b6c7fb584cfe13f4bc62c6da555 (patch)
treed2a4f5bca2e8e2973531c0db8789f4665ccf6400 /lib
parent097d2fabe3cb4477e4515b4106f0c72001620de0 (diff)
also respect relevance threshold in depends_on_arg
Diffstat (limited to 'lib')
-rw-r--r--lib/parameters.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/parameters.py b/lib/parameters.py
index 74b9091..503e779 100644
--- a/lib/parameters.py
+++ b/lib/parameters.py
@@ -239,7 +239,8 @@ def _compute_param_statistics(
ret["_depends_on_arg"].append(False)
else:
ret["_depends_on_arg"].append(
- ret["std_param_lut"] / ret["std_by_arg"][arg_index] < 0.5
+ ret["std_param_lut"] / ret["std_by_arg"][arg_index]
+ < relevance_threshold
)
return ret