scikit-survival
Creators
Description
This release adds support for scikit-learn 0.24 and Python 3.9. scikit-survival now requires at least pandas 0.25 and scikit-learn 0.24. Moreover, if sksurv.ensemble.GradientBoostingSurvivalAnalysis. or sksurv.ensemble.GradientBoostingSurvivalAnalysis are fit with loss='coxph'
, <span class="title-ref">predict\_cumulative\_hazard\_function</span> and <span class="title-ref">predict\_survival\_function</span> are now available. sksurv.metrics.cumulative_dynamic_auc now supports evaluating time-dependent predictions, for instance for a sksurv.ensemble.RandomSurvivalForest as illustrated in the User Guide.
- Allow passing pandas data frames to all
fit
andpredict
methods (#148). - Allow sparse matrices to be passed to sksurv.ensemble.GradientBoostingSurvivalAnalysis.predict.
- Fix example in user guide using GridSearchCV to determine alphas for CoxnetSurvivalAnalysis (#186).
- Add score method to sksurv.meta.Stacking, sksurv.meta.EnsembleSelection, and sksurv.meta.EnsembleSelectionRegressor (#151).
- Add support for <span class="title-ref">predict\_cumulative\_hazard\_function</span> and <span class="title-ref">predict\_survival\_function</span> to sksurv.ensemble.GradientBoostingSurvivalAnalysis. and sksurv.ensemble.GradientBoostingSurvivalAnalysis if model was fit with
loss='coxph'
. - Add support for time-dependent predictions to sksurv.metrics.cumulative_dynamic_auc See the User Guide for an example (#134).
- The score method of sksurv.linear_model.IPCRidge, sksurv.svm.FastSurvivalSVM, and sksurv.svm.FastKernelSurvivalSVM (if
rank_ratio
is smaller than 1) now converts predictions on log(time) scale to risk scores prior to computing the concordance index. - Support for cvxpy and cvxopt solver in sksurv.svm.MinlipSurvivalAnalysis and sksurv.svm.HingeLossSurvivalSVM has been dropped. The default solver is now ECOS, which was used by cvxpy (the previous default) internally. Therefore, results should be identical.
- Dropped the
presort
argument from sksurv.tree.SurvivalTree and sksurv.ensemble.GradientBoostingSurvivalAnalysis. - The
X_idx_sorted
argument in sksurv.tree.SurvivalTree.fit has been deprecated in scikit-learn 0.24 and has no effect now. - <span class="title-ref">predict\_cumulative\_hazard\_function</span> and <span class="title-ref">predict\_survival\_function</span> of sksurv.ensemble.RandomSurvivalForest and sksurv.tree.SurvivalTree now return an array of sksurv.functions.StepFunction objects by default. Use
return_array=True
to get the old behavior. - Support for Python 3.6 has been dropped.
Increase minimum supported versions of dependencies. We now require:
Package Minimum Version Pandas 0.25.0 scikit-learn 0.24.0
Files
sebp/scikit-survival-v0.15.0.zip
Files
(1.7 MB)
Name | Size | Download all |
---|---|---|
md5:76a4d2d9eba275ec5c8652e6ca19ec94
|
1.7 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/sebp/scikit-survival/tree/v0.15.0 (URL)