Survival, Hazard, Regression, Data Science, Hands On Tutorials.
heart transplant data set using Python and the Lifelines library: from lifelines import KaplanMeierFitter from matplotlib import pyplot as plt kmf = KaplanMeierFitter(label='Stanford heart transplant dataset') kmf = kmf.fit(durations=df['SURVIVAL_TIME'], event_observed=df['SURVIVAL_STATUS'])