Data Science, Churn Analysis, Analytics, Lifetime Value, Machine Learning.
class. This class has methods to fit a regression on top of a baseline Weibull curve. from lifelines import WeibullAFTFitter aft = WeibullAFTFitter() # In this case we are using all columns in the data set aft.fit(prison,duration_col='week',event_col='arrest') aft.summary Fig 1.9 Regression results