Releases: CamDavidsonPilon/lifelines
Releases · CamDavidsonPilon/lifelines
0.11.1
0.11.1
- Python3 fix for
CoxPHFitter.plot.
0.11.0-master
0.11.0
- fixes regression in
KaplanMeierFitter.plotwhen using Seaborn and lifelines. - introduce a new
.plotfunction to a fittedCoxPHFitterinstance. This plots the hazard coefficients and their confidence intervals. - in all plot methods, the
ixkwarg has been deprecated in favour of a newlockwarg. This is to align with Pandas deprecatingix
0.10.1
0.10.1
- fix in internal normalization for
CoxPHFitterpredict methods.
0.10.0
- corrected bug that was returning the wrong baseline survival and hazard values in
CoxPHFitterwhennormalize=True. - removed
normalizekwarg inCoxPHFitter. This was causing lots of confusion for users, and added code complexity. It's really nice to be able to remove it. - correcting column name in
CoxPHFitter.baseline_survival_ CoxPHFitter.baseline_cumulative_hazard_is always centered, to mimic R'sbasehazAPI.- new
predict_log_partial_hazardstoCoxPHFitter
0.8.0
- reorganized lifelines directories:
- moved test files out of main directory.
- moved
utils.pyinto it's down directory. - moved all estimators
fittersdirectory.
- added a
at_riskcolumn to the output ofgroup_survival_table_from_eventsandsurvival_table_from_events - added sample size and power calculations for statistical tests. See
lifeline.statistics. sample_size_necessary_under_cphandlifelines.statistics. power_under_cph. - fixed a bug when using KaplanMeierFitter for left-censored data.
Lifelines 0.7.0
0.7.0
- allow for multiple fitters to be passed into
k_fold_cross_validation. - statistical tests in
lifelines.statstics. now return aStatisticalResultobject with properties likep_value,test_results, andsummary. - fixed a bug in how log-rank statistical tests are performed. The covariance matrix was not being correctly calculated. This resulted in slightly different p-values.
WeibullFitter,ExponentialFitter,KaplanMeierFitterandBreslowFlemingHarringtonFitterall have aconditional_time_to_event_property that measures the median duration remaining until the death event, given survival up until time t.
ignore: Merge pull request #132 from CamDavidsonPilon/0.6.0
Lifelines 0.6.0
0.6.0
- Inclusion of the univariate fitters
WeibullFitterandExponentialFitter. - Removing
BayesianFitterfrom lifelines. - Added new penalization scheme to AalenAdditiveFitter. You can now add a smoothing penalizer
that will try to keep subsequent values of a hazard curve close together. The penalizing coefficient
issmoothing_penalizer. - Changed
penalizerkeyword arg tocoef_penalizerin AalenAdditiveFitter. - new
ridge_regressionfunction inutils.pyto perform linear regression with l2 penalizer terms. - Matplotlib is no longer a mandatory dependency.
.predict(time)method on univariate fitters can now accept a scalar (and returns a scalar) and an iterable (and returns a numpy array)- In
KaplanMeierFitter,epsilonhas been renamed toprecision.
Lifelines 0.5.1
- New API for
CoxPHFitterandAalenAdditiveFitter: the default arguments forevent_colandduration_col.duration_colis now mandatory, andevent_colnow accepts a column, or by default,None, which assumes all events are observed (non-censored). - Fix statistical tests
- Allow negative durations in Fitters
- New API in
survival_table_from_events:min_observationsis replaced bybirth_times(defaultNone). - New API in
CoxPHFitterfor summary:summarywill return a dataframe with statistics,print_summary()will print the dataframe (plus some other statistics) in a pretty manner. - Adding "At Risk" counts option to univariate fitter
plotmethods,.plot(at_risk_counts=True). - Fix Epanechnikov kernel.
Lifelines 0.5.0
- move testing to py.test
- refactor tests into smaller files
- make
test_pairwise_logrank_test_with_identical_data_returns_inconclusivea better test - add test for summary()
- Alternate metrics can be used for
k_fold_cross_validation.
v0.4.4.1
- Makes column ordering explicit.