From 23231f90aa15b9d02167c4aaf2e05338b339b42c Mon Sep 17 00:00:00 2001 From: EYezerets Date: Sun, 18 Oct 2020 18:58:03 -0400 Subject: [PATCH] forest.py line 237 change max_depth to self.max_depth --- proglearn/forest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proglearn/forest.py b/proglearn/forest.py index 0821cbe058..085ec410c0 100644 --- a/proglearn/forest.py +++ b/proglearn/forest.py @@ -234,7 +234,7 @@ def fit(self, X, y): self.lf = LifelongClassificationForest( n_estimators=self.n_estimators, default_finite_sample_correction=self.finite_sample_correction, - default_max_depth=max_depth, + default_max_depth=self.max_depth, ) self.lf.add_task(X, y, task_id=0) return self