Skip to content

v0.21.0

Compare
Choose a tag to compare
@sebp sebp released this 11 Jun 14:55
· 170 commits to master since this release

This is a major release bringing new features and performance improvements.

Bug fixes

  • Fix bug where times passed to sksurv.metrics.brier_score() was downcast, resulting in a loss of precision that may lead to duplicate time points (#349).
  • Fix inconsistent behavior of evaluating functions returned by predict_cumulative_hazard_function or predict_survival_function (#375).

Enhancements

Documentation

Backwards incompatible changes

  • The attribute event_times_ of estimators has been replaced by unique_times_ to clarify that these are all the unique times points, not just the once where an event occurred (#371).
  • Functions returned by predict_cumulative_hazard_function and predict_survival_function of sksurv.tree.SurvivalTree, sksurv.ensemble.RandomSurvivalForest, and sksurv.ensemble.ExtraSurvivalTrees are over all unique time points passed as training data, instead of all unique time points where events occurred (#371).
  • Evaluating a function returned by predict_cumulative_hazard_function or predict_survival_function will no longer raise an exception if the specified time point is smaller than the smallest time point observed during training. Instead, the value at StepFunction.x[0] will be returned (#375).

New Contributors

Full Changelog: v0.20.0...v0.21.0