What’s new in 0.22#
scikit-survival 0.22.2 (2023-12-30)#
This release adds support for Python 3.12.
Bug fixes#
Fix invalid escape sequence in Introduction of user guide.
Enhancements#
Documentation#
Add section Building Cython Code to contributing guidelines (#379).
Improve the description of the
estimateparameter insksurv.metrics.brier_score()andsksurv.metrics.integrated_brier_score()(#424).
scikit-survival 0.22.1 (2023-10-08)#
Bug fixes#
Fix error in
sksurv.tree.SurvivalTree.fit()ifXhas missing values and dtype other than float32 (#412).
scikit-survival 0.22.0 (2023-10-01)#
This release adds support for scikit-learn 1.3,
which includes missing value support for
sksurv.tree.SurvivalTree.
Support for previous versions of scikit-learn has been dropped.
Moreover, a low_memory option has been added to sksurv.ensemble.RandomSurvivalForest,
sksurv.ensemble.ExtraSurvivalTrees, and sksurv.tree.SurvivalTree
which reduces the memory footprint of calling predict, but disables the use
of predict_cumulative_hazard_function and predict_survival_function.
Bug fixes#
Fix issue where an estimator could be fit to data containing negative event times (#410).
Enhancements#
Expand test_stacking.py coverage w.r.t.
predict_log_proba(#380).Add
low_memoryoption tosksurv.ensemble.RandomSurvivalForest,sksurv.ensemble.ExtraSurvivalTrees, andsksurv.tree.SurvivalTree. If set,predictcomputations use less memory, butpredict_cumulative_hazard_functionandpredict_survival_functionare not implemented (#369).Allow calling
sksurv.meta.Stacking.predict_cumulative_hazard_function()andsksurv.meta.Stacking.predict_survival_function()if the meta estimator supports it (#388).Add support for missing values in
sksurv.tree.SurvivalTreebased on missing value support in scikit-learn 1.3 (#405).Update bundled Eigen to 3.4.0.
Documentation#
Add
sksurv.meta.Stacking.unique_times_to API docs.Upgrade to Sphinx 6.2.1 and pydata_sphinx_theme 0.13.3 (#390).
Backwards incompatible changes#
The
loss_attribute ofsksurv.ensemble.ComponentwiseGradientBoostingSurvivalAnalysisandsksurv.ensemble.GradientBoostingSurvivalAnalysishas been removed (#402).Support for
max_features='auto'insksurv.ensemble.GradientBoostingSurvivalAnalysisandsksurv.tree.SurvivalTreehas been removed (#402).