What’s new in 0.8#
scikit-survival 0.8 (2019-05-01)#
Enhancements#
Add
sksurv.linear_model.CoxnetSurvivalAnalysis.predict_survival_function()andsksurv.linear_model.CoxnetSurvivalAnalysis.predict_cumulative_hazard_function()(#46).Add
sksurv.nonparametric.SurvivalFunctionEstimatorandsksurv.nonparametric.CensoringDistributionEstimatorthat wrapsksurv.nonparametric.kaplan_meier_estimator()and provide a predict_proba method for evaluating the estimated function on test data.Implement censoring-adjusted C-statistic proposed by Uno et al. (2011) in
sksurv.metrics.concordance_index_ipcw().Add estimator of cumulative/dynamic AUC of Uno et al. (2007) in
sksurv.metrics.cumulative_dynamic_auc().Add flchain dataset (see
sksurv.datasets.load_flchain()).
Bug fixes#
The tied_time return value of
sksurv.metrics.concordance_index_censored()now correctly reflects the number of comparable pairs that share the same time and that are used in computing the concordance index.Fix a bug in
sksurv.metrics.concordance_index_censored()where a pair with risk estimates within tolerance was counted both as concordant and tied.