What’s new in 0.18#
scikit-survival 0.18.0 (2022-08-15)#
This release adds support for scikit-learn 1.1, which includes more informative error messages. Support for Python 3.7 has been dropped, and the minimum supported versions of dependencies are updated to
Package
Minimum Version
numpy
1.17.3
Pandas
1.0.5
scikit-learn
1.1.0
scipy
1.3.2
Enhancements#
Add
n_iter_attribute to all estimators in sksurv.svm (#277).Add
return_arrayargument to all models providingpredict_survival_functionandpredict_cumulative_hazard_function(#268).
Deprecations#
The
loss_attribute ofsksurv.ensemble.ComponentwiseGradientBoostingSurvivalAnalysisandsksurv.ensemble.GradientBoostingSurvivalAnalysishas been deprecated.The default for the
max_featuresargument has been changed from'auto'to'sqrt'forsksurv.ensemble.RandomSurvivalForestandsksurv.ensemble.ExtraSurvivalTrees.'auto'and'sqrt'have the same effect.