Uçtan Uca Machine Learning
Joshua Stapleton
Machine Learning Engineer

df.head()
# Print the first 5 rows
print(heart_disease_df.head())

df.info()
# Print out details
print(heart_disease_df.info())

df.value_counts()
# print the class balance
print(heart_disease_df['target'].value_counts(normalize=True))

df.isnull() kullanın
Kullanım
# bir sütundaki tüm değerler null mı kontrol edin
print(heart_disease_df['oldpeak'].isnull().all())
True
Anormal değerler
Model performansını bozabilir
Bazen faydalı olabilir:

Görselleştirmeler şunları gösterir:
Diğer görselleştirme türleri:
df['age'].plot(kind='hist')
plt.xlabel('Age')
plt.ylabel('Frequency')
plt.show()

Veriyi anlayın
Aykırı değerleri saptayın
Hipotez kurun
Varsayımları kontrol edin
Uçtan Uca Machine Learning