Repository navigation
v0.13
·
1284 commits
to master
since this release
0.13.0
- Implements a new fitter
CoxTimeVaryingFitteravailable under thelifelinesnamespace. This model implements the Cox model for time-varying covariates. - Utils for creating time varying datasets available in
utils. CoxPHFitter.fitnow has accepts aweight_colkwarg 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_significantandtest_resultfromStatisticalResult. Users can instead choose their significance level by comparing top_value. The string representation of this class has changed aswell. CoxPHFitterandAalenAdditiveFitternow have ascore_property that is the concordance-index of the dataset to the fitted model.CoxPHFitterhas a slightly more intelligent (barely...) way to pick a step size, so convergence should generally be faster.CoxPHFitterandAalenAdditiveFitterno longer have thedataproperty. 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
datasetsnamespace from the mainlifelinesnamespace