Skip to content

Releases: CamDavidsonPilon/lifelines

v0.27.0

15 Mar 15:20
bb0561a
Compare
Choose a tag to compare

0.27.0 - 2022-03-15

Dropping Python3.6 support.

Bug fixes
  • Fix late entry in add_at_risk_counts.
New features
  • add_at_risk_counts has a new flag to determine to use start or end-of-period at risk counts.
  • new column in fitter's summary that display the number the parameter is being compared against.
API Changes
  • plot_lifetimes's duration arg has the interpretation of "relative time the subject died (since birth)", instead of the old "time observed for". These interpretations are different when there is late entry.

v0.26.4

30 Nov 20:20
9be26a9
Compare
Choose a tag to compare

0.26.4 - 2021-11-30

New features
  • adding weights to log rank functions

v0.26.3

16 Sep 11:27
10e4b3d
Compare
Choose a tag to compare

0.26.3 - 2021-09-16

Bug fixes
  • Fix using formulas with CoxPHFitter.score

v0.26.2

15 Sep 15:25
9619cc9
Compare
Choose a tag to compare

0.26.2 - 2021-09-15

Error in v0.26.1 deployment

v0.26.1

15 Sep 15:20
c8d9d71
Compare
Choose a tag to compare

0.26.1 - 2021-09-15

API Changes
  • t_0 in logrank_test now will not remove data, but will instead censor all subjects that experience the event afterwards.
  • update status column in lifelines.datasets.load_lung to be more standard coding: 0 is censored, 1 is event.
Bug fixes
  • Fix using formulas with AalenAdditiveFitter.predict_cumulative_hazard
  • Fix using formulas with CoxPHFitter.score

0.26.0

27 May 00:33
71f4e4d
Compare
Choose a tag to compare

0.26.0 - 2021-05-26

New features
  • .BIC_ is now present on fitted models.
  • CoxPHFitter with spline baseline can accept pre-computed knot locations.
  • Left censoring fitting in KaplanMeierFitter is now "expected". That is, predict always predicts the survival function (as does every other model), confidence_interval_ is always the CI for the survival function (as does every other model), and so on. In summary: the API for estimates doesn't change depending on what your censoring your dataset is.
Bug fixes
  • Fixed an annoying bug where at_risk-table label's were not aligning properly when data spanned large ranges. See merging PR for details.
  • Fixed a bug in find_best_parametric_model where the wrong BIC value was being computed.
  • Fixed regression bug when using an array as a penalizer in Cox models.

v0.25.11

13 Apr 14:41
Compare
Choose a tag to compare

0.25.11 - 2021-04-06

A previous release (on Github) was missing correct metadata and was deleted.

Bug fixes
  • Fix integer-valued categorical variables in regression model predictions.
  • numpy > 1.20 is allowed.
  • Bug fix in the elastic-net penalty for Cox models that wasn't weighting the terms correctly.

v0.25.10

03 Mar 21:33
f911bc5
Compare
Choose a tag to compare

0.25.10 - 2021-03-03

New features
  • Better appearance when using a single row to show in add_at_risk_table.

v0.25.9

05 Feb 04:35
Compare
Choose a tag to compare

0.25.9 - 2021-02-04

Small bump in dependencies.

v0.25.8

22 Jan 15:03
5e137fc
Compare
Choose a tag to compare

0.25.8 - 2021-01-22

Important: we dropped Patsy as our formula framework, and adopted Formulaic. Will the latter is less mature than Patsy, we feel the core capabilities are satisfactory and it provides new opportunities.

New features
  • Parametric models with formulas are able to be serialized now.
  • a _scipy_callback function is available to use in fitting algorithms.