From 7c1f72e3cd100025247958989f55b97f556986a4 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 16 Jan 2024 16:39:08 +0100 Subject: model: Correctly set threshold from compute_stats --- lib/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})") -- cgit v1.2.3