Survival Analysis, Python, Aft, Cox Ph, Machine Learning.
print(weibull_aft.median_survival_time_) print(weibull_aft.mean_survival_time_) 419.097 495.969 Plotting Coefficients Next, we can plot the ranking of variables in terms of their log(accelerated failure rate) using the .plot( ) method. plt.subplots(figsize=(10, 6)) weibull_aft.plot() Plot of