summaryrefslogtreecommitdiff
path: root/lib/validation.py
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-02-21 10:48:47 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-02-21 10:49:09 +0100
commitbf95fffe4fb017e2dcc0bbb268089d3231e15573 (patch)
tree5bf609b10a7bcb997f88de76d83bc6f559e48a3b /lib/validation.py
parent3d19e24370798f37d8119b4366b8486d67ed3110 (diff)
Always build model in get_fitted; never in constructor
Diffstat (limited to 'lib/validation.py')
-rw-r--r--lib/validation.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/validation.py b/lib/validation.py
index 6203003..958a9e0 100644
--- a/lib/validation.py
+++ b/lib/validation.py
@@ -302,8 +302,6 @@ class CrossValidator:
logger.debug("Creating training model instance")
kwargs = self.kwargs.copy()
- if static:
- kwargs["force_tree"] = False
training_data = self.model_class(
training, self.parameters, *self.args, **kwargs
)
@@ -311,7 +309,6 @@ class CrossValidator:
training_model = model_getter(training_data)
kwargs = self.kwargs.copy()
kwargs["compute_stats"] = False
- kwargs["force_tree"] = False
logger.debug("Creating validation model instance")
validation_data = self.model_class(
validation, self.parameters, *self.args, **kwargs