diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-08-31 14:52:25 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-08-31 14:52:25 +0200 |
commit | e257251c82b64210dbc17890852d13b43f25c89d (patch) | |
tree | 46db847b578537efbd71b45a3d91fcfa96b869c1 /lib/model.py | |
parent | 01e9ed8be6fdbb9c457e43aa0861d4c243466f18 (diff) |
model: use mean stddev for fixed parameter configuration as split threshold by default
Diffstat (limited to 'lib/model.py')
-rw-r--r-- | lib/model.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/model.py b/lib/model.py index 12428e3..696813e 100644 --- a/lib/model.py +++ b/lib/model.py @@ -255,7 +255,12 @@ class AnalyticModel: for name in self.names: for attr in self.attr_by_name[name].keys(): if tree_required[name].get(attr, False): - self.build_dtree(name, attr, 0.1, with_function_leaves=True) + self.build_dtree( + name, + attr, + self.attr_by_name[name][attr].stats.std_param_lut, + with_function_leaves=False, + ) else: self.attr_by_name[name][attr].set_data_from_paramfit(paramfit) |