There is a newer version of this record available.

Software Open Access

CamDavidsonPilon/lifelines: 0.26.0

Cameron Davidson-Pilon; Jonas Kalderstam; Noah Jacobson; Sean Reed; Ben Kuhn; Paul Zivich; Mike Williamson; AbdealiJK; Deepyaman Datta; Andrew Fiore-Gartland; Alex Parij; Daniel WIlson; Gabriel; Luis Moneda; Arturo Moncada-Torres; Kyle Stark; Harsh Gadgil; Jona; JoseLlanes; Karthikeyan Singaravelan; Lilian Besson; Miguel Sancho Peña; Steven Anton; Andreas Klintberg; GrowthJeff; Javad Noorbakhsh; Matthew Begun; Ravin Kumar; Sean Hussey; Skipper Seabold

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.
Files (10.2 MB)
Name Size
10.2 MB Download
All versions This version
Views 16,129794
Downloads 1,4068
Data volume 8.8 GB81.8 MB
Unique views 13,247609
Unique downloads 4147


Cite as