0.13.0
- Implements a new fitter
CoxTimeVaryingFitter
available under thelifelines
namespace. This model implements the Cox model for time-varying covariates. - Utils for creating time varying datasets available in
utils
. CoxPHFitter.fit
now has accepts aweight_col
kwarg so one can pass in weights per observation. This is very useful if you have many subjects, and the space of covariates is not large. Thus you can group the same subjects together and give that observation a weight equal to the count. Altogether, this means a much faster regression.- removes
is_significant
andtest_result
fromStatisticalResult
. Users can instead choose their significance level by comparing top_value
. The string representation of this class has changed aswell. CoxPHFitter
andAalenAdditiveFitter
now have ascore_
property that is the concordance-index of the dataset to the fitted model.CoxPHFitter
has a slightly more intelligent (barely...) way to pick a step size, so convergence should generally be faster.CoxPHFitter
andAalenAdditiveFitter
no longer have thedata
property. It was an almost duplicate of the training data, but was causing the model to be very large when serialized.- less noisy check for complete separation.
- removed
datasets
namespace from the mainlifelines
namespace