summaryrefslogtreecommitdiff
path: root/lib/model.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-08-24 12:12:04 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2021-08-24 12:12:04 +0200
commitd53f10c24ac9d2874842e8d38b3422bbc7cdaae6 (patch)
tree6eaabb32ebb426028b7c6d1f4b6d543ae3667de5 /lib/model.py
parent43736e37f7b1806ec1500f0cf242324be311673c (diff)
support override functions in dtree code
Diffstat (limited to 'lib/model.py')
-rw-r--r--lib/model.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/model.py b/lib/model.py
index 76444b0..12428e3 100644
--- a/lib/model.py
+++ b/lib/model.py
@@ -234,7 +234,9 @@ class AnalyticModel:
for name in self.names:
tree_required[name] = dict()
for attr in self.attr_by_name[name].keys():
- if self.attr_by_name[name][
+ if self.attr_by_name[name][attr].function_override is not None:
+ self.attr_by_name[name][attr].fit_override_function()
+ elif self.attr_by_name[name][
attr
].all_relevant_parameters_are_none_or_numeric():
for key, param, args, kwargs in self.attr_by_name[name][