diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-16 16:39:08 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-01-16 16:39:08 +0100 |
commit | 7c1f72e3cd100025247958989f55b97f556986a4 (patch) | |
tree | a27b5389c923e4001c9905b16d788f8c45ff28a5 | |
parent | 0663ebd84032987233c23f15349f5d489d1ee6a9 (diff) |
model: Correctly set threshold from compute_stats
-rw-r--r-- | lib/model.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/model.py b/lib/model.py index f77bf7e..dadbe02 100644 --- a/lib/model.py +++ b/lib/model.py @@ -167,7 +167,7 @@ class AnalyticModel: if max_std and name in max_std and attr in max_std[name]: threshold = max_std[name][attr] elif compute_stats: - threshold = (self.attr_by_name[name][attr].stats.std_param_lut,) + threshold = self.attr_by_name[name][attr].stats.std_param_lut else: threshold = 0 logger.debug(f"build_dtree({name}, {attr}, threshold={threshold})") |