Releases: CamDavidsonPilon/lifelines
Releases · CamDavidsonPilon/lifelines
v0.24.14
0.24.14 - 2020-07-02
Bug fixes
- fixed a bug where using
conditional_after
andtimes
in prediction methods would result in a shape error - fixed a bug where
score
was not able to be used in splinedCoxPHFitter
- fixed a bug where some columns would not be displayed in
print_summary
v0.24.13
0.24.13 - 2020-06-22
Bug fixes
- fixed a bug where
CoxPHFitter
would ignore inputedalpha
levels for confidence intervals - fixed a bug where
CoxPHFitter
would fail with working withsklearn_adapter
v0.24.12
0.24.12 - 2020-06-20
New features
- improved convergence of
GeneralizedGamma(Regression)Fitter
.
v0.24.11
0.24.11 - 2020-06-17
New features
- new spline regression model
CRCSplineFitter
based on the paper "A flexible parametric accelerated failure time model" by Michael J. Crowther, Patrick Royston, Mark Clements. - new survival probability calibration tool
lifelines.calibration.survival_probability_calibration
to help validate regression models. Based on “Graphical calibration curves and the integrated calibration index (ICI) for survival models” by P. Austin, F. Harrell, and D. van Klaveren.
API Changes
- (and bug fix) scalar parameters in regression models were not being penalized by
penalizer
- we now penalizing everything except intercept terms in linear relationships.
v0.24.10
0.24.10
New features
- New improvements when using splines model in CoxPHFitter - it should offer much better prediction and baseline-hazard estimation, including extrapolation and interpolation.
API Changes
- Related to above: the fitted spline parameters are now available in the
.summary
and.print_summary
methods.
Bug fixes
- fixed a bug in initialization of some interval-censoring models -> better convergence.
v0.24.9
0.24.9 - 2020-06-05
New features
- Faster NPMLE for interval censored data
- New weightings available in the
logrank_test
:wilcoxon
,tarone-ware
,peto
,fleming-harrington
. Thanks @sean-reed - new interval censored dataset:
lifelines.datasets.load_mice
Bug fixes
- Cleared up some mislabeling in
plot_loglogs
. Thanks @sean-reed! - tuples are now able to be used as input in univariate models.
v0.24.8
0.24.8
New features
- Non parametric interval censoring is now available, experimentally. Not all edge cases are fully checked, and some features are missing. Try it under
KaplanMeierFitter.fit_interval_censoring
v0.24.7
0.24.7
New features
find_best_parametric_model
can handle left and interval censoring. Also allows for more fitting options.AIC_
is a property on parametric models, andAIC_partial_
is a property on Cox models.penalizer
in all regression models can now be an array instead of a float. This enables new functionality and better
control over penalization. This is similar (but not identical) topenalty.factors
in glmnet in R.- some convergence tweaks which should help recent performance regressions.
Bug fixes
- fixed bug where
cdf_plot
andqq_plot
were not factoring in the weights correctly.
0.24.6
0.24.6 - 2020-05-05
New features
- At the cost of some performance, convergence is improved in many models.
- New
lifelines.plotting.plot_interval_censored_lifetimes
for plotting interval censored data - thanks @sean-reed!
Bug fixes
- fixed bug where
cdf_plot
andqq_plot
were not factoring in the weights correctly.
v0.24.5
New features
plot_lifetimes
accepts pandas Series.
Bug fixes
- Fixed important bug in interval censoring models. Users using interval censoring are strongly advised to upgrade.
- Improved
at_risk_counts
for subplots. - More data validation checks for
CoxTimeVaryingFitter