What’s new in 0.23#

scikit-survival 0.23.1 (2024-11-04)#

This release adds support for Python 3.13. The minimum required version for pandas has been bumped to pandas 1.4.0.

Bug fixes#

Enhancements#

Backwards incompatible changes#

  • Support for pandas versions before 1.4.0 has been dropped.

scikit-survival 0.23.0 (2024-06-30)#

This release adds support for scikit-learn 1.4 and 1.5, which includes missing value support for sksurv.ensemble.RandomSurvivalForest.

Moreover, this release fixes critical bugs. When fitting sksurv.tree.SurvivalTree, the sample_weight is now correctly considered when computing the log-rank statistic for each split. This change also affects sksurv.ensemble.RandomSurvivalForest and sksurv.ensemble.ExtraSurvivalTrees which pass sample_weight to the individual trees in the ensemble.

This release fixes a bug in sksurv.ensemble.ComponentwiseGradientBoostingSurvivalAnalysis and sksurv.ensemble.GradientBoostingSurvivalAnalysis when dropout is used. Previously, dropout was only applied starting with the third iteration, now dropout is applied in the second iteration too.

Finally, this release adds compatibility with numpy 2.0 and drops support for Python 3.8.

Bug fixes#

Enhancements#

Documentation#

Backwards incompatible changes#

  • Drop support for Python 3.8 (#427).