Survival Analysis, Python, Aft, Cox Ph, Machine Learning.
model. from lifelines import WeibullFitter,\ ExponentialFitter,\ LogNormalFitter,\ LogLogisticFitter # Instantiate each fitter wb = WeibullFitter() ex = ExponentialFitter() log = LogNormalFitter() loglogis = LogLogisticFitter() # Fit to data for model in [wb, ex, log, loglogis]: model.fit(durations