lifelines icon indicating copy to clipboard operation
lifelines copied to clipboard

Survival analysis in Python

Results 158 lifelines issues
Sort by recently updated
recently updated
newest added

I've written a method for getting the survival function until timestep $t$ where $0

Thanks for the great package! I was going over this tutorial https://dataorigami.net/2020/08/03/SaaS-churn-and-piecewise-regression-survival-models.html but I am facing issues with AttributeError: 'PiecewiseExponentialRegressionFitter' object has no attribute '_norm_mean' I checked the source code...

The `print_summary` method in the `lifelines.statistics.StatisticalResult` class was not correctly handling the `decimals` argument when no explicit `style` was provided. This led to the output table displaying the default precision...

Hi, Thank you for the excellent package! As I'm learning about the AFT model, I have some naive questions about your implementation of AFT, and hopefully you can help me...

Hi team, I found that when you fit a very imbalanced dataset, the CoxPHFitter models led to a singular error because the k_fold_cross_validation does not ensure the folds include both...

ONNX export (e.g. with https://onnx.ai/sklearn-onnx/ ) would be very beneficial for deploying trained models to any environment and programming language. Do you have such export options considering ONNX is the...

enhancement

As per earlier issues: - https://github.com/CamDavidsonPilon/lifelines/issues/1429 - https://github.com/CamDavidsonPilon/lifelines/issues/1149 - https://github.com/CamDavidsonPilon/lifelines/issues/740 The Brier score is useful metric to evaluate model performance when a model returns a probability instead of a hard...

Hey! I would like the results of the add_at_risk_counts to be saved as an array or something instead of it just being part of my plot. Is there any way...

enhancement
plotting