0.21.0
New features
weights
is now a optional kwarg for parametric univariate models.- all univariate and multivariate parametric models now have ability to handle left, right and interval censored data (the former two being special cases of the latter). Users can use the
fit_right_censoring
(which is an alias forfit
),fit_left_censoring
andfit_interval_censoring
. - a new interval censored dataset is available under
lifelines.datasets.load_diabetes
API changes
left_censorship
on all univariate fitters has been deprecated. Please use the new
apimodel.fit_left_censoring(...)
.invert_y_axis
inmodel.plot(...
has been removed.entries
property in multivariate parametric models has a new Series name:entry
Bug fixes
- lifelines was silently converting any NaNs in the event vector to True. An error is now thrown instead.
- Fixed an error that didn't let users use Numpy arrays in prediction for AFT models