MulaiMulai sekarang secara gratis

Analyze heart patients characteristics

You want to understand how different characteristics of the heart change patients' survival outcomes. If you can identify warning signs, maybe you can apply treatments and increase patients' chances of survival!

You will regress patient characteristics against their survival durations using Weibull accelerated failure time (AFT) model.

In this enriched dataset, you have a few more data points about each patient in the heart_patients DataFrame. Use the console to explore the column names. The pandas and numpy packages are loaded as pd and np.

Latihan ini adalah bagian dari kursus

Survival Analysis in Python

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Import WeibullAFTFitter and instantiate
____
aft = ____
Edit dan Jalankan Kode