Lifelines

Latest version: v0.28.0

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 23

0.27.3

New features
- Fixed and silenced a lot of warnings

Bug fixes
- Migrate to newer Pandas `Styler` for `to_latex`

API Changes
- There were way too many functions on the summary objects, so I've hidden `to_*` on them.

0.27.2

Bug fixes
- Fixed issue in add_at_risk_table when there were very late entries.

0.27.1

New features
- all `fit_` methods now accept a `fit_options` dict that allows one to pass kwargs to the underlying fitting algorithm.


API Changes
- `step_size` is removed from Cox models `fit`. See `fit_options` above.

Bug fixes
- fixed Cox models when "trivial" matrix was passed in (one with no covariates)

0.27.0

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.

0.26.4

New features
- adding `weights` to log rank functions

0.26.3

Bug fixes
- Fix using formulas with `CoxPHFitter.score`

Page 2 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.