Closed scuri-patrick closed 8 months ago
scikit-learn 1.4 isn't support yet (see issue #436).
You need to downgrade to scikit-learn 1.3 or wait for a new release of scikit-survival that supports scikit-learn 1.4, which will probably be available this week.
Describe the bug
Getting error while initiating GradientBoostingSurvivalAnalysis
Code Sample to Reproduce the Bug
Expected Results Work as all the other models in sksurv
Actual Results
TypeError Traceback (most recent call last) Cell In[36], line 4 1 from sksurv.ensemble import ( 2 GradientBoostingSurvivalAnalysis, 3 ) ----> 4 model = GradientBoostingSurvivalAnalysis()
TypeError: Can't instantiate abstract class GradientBoostingSurvivalAnalysis with abstract methods _encode_y, _get_loss
Versions Please execute the following snippet and paste the output below.