You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The apply method inherited from scikit-learn is broken. After fitting, apply raises AttributeError since it is not implemented in the SurvivalTree class.
Expected Results
Same data-structure as returned by scikit-learn RF.
Actual Results
Traceback (most recent call last)
[/usr/local/lib/python3.7/dist-packages/sklearn/ensemble/_forest.py](https://localhost:8080/#) in <genexpr>(.0)
251 verbose=self.verbose,
252**_joblib_parallel_args(prefer="threads"),
--> 253 )(delayed(tree.apply)(X, check_input=False) for tree in self.estimators_)
254255return np.array(results).T
AttributeError: 'SurvivalTree' object has no attribute 'apply'
Versions
Please execute the following snippet and paste the output below.
Describe the bug
The apply method inherited from scikit-learn is broken. After fitting, apply raises AttributeError since it is not implemented in the SurvivalTree class.
Code Sample to Reproduce the Bug
Expected Results
Same data-structure as returned by scikit-learn RF.
Actual Results
Versions
Please execute the following snippet and paste the output below.
The text was updated successfully, but these errors were encountered: