MulaiMulai sekarang secara gratis

Confusion matrix interpretation

You are given the actual diagnoses and predicted diagnoses for the heart_disease dataset - actuals and predictions respectively. Import and create a confusion matrix of these diagnoses using the imported confusion_matrix() function in order to select the correct answer. Note that the sklearn output format for confusion matricies is:

Actual: Heart disease Actual: No heart disease
Predicted: Heart disease
Predicted: No heart disease

⚠️ Note: Type your code in the IPython Shell terminal and press Enter.

Latihan ini adalah bagian dari kursus

End-to-End Machine Learning

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga