pypi scikit-survival 0.21.0
v0.21.0

latest releases: 0.28.0, 0.27.0, 0.26.0...
3 years ago

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

Don't miss a new scikit-survival release

NewReleases is sending notifications on new releases.