Skip to content

Commit

Permalink
Merge pull request neurodata#323 from neurodata/EYezerets-patch-line237
Browse files Browse the repository at this point in the history
forest.py line 237 change max_depth to self.max_depth
  • Loading branch information
levinwil authored Oct 18, 2020
2 parents f663fef + 23231f9 commit 8f20cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proglearn/forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,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
Expand Down

0 comments on commit 8f20cb3

Please sign in to comment.