Alibaba Cloud Machine Learning Platform for AI: Heart Disease Prediction

Dataset Introduction

Data Exploration Procedure

1. Data Preprocessing

1.    
2. select age,
3. (case sex when 'male' then 1 else 0 end) as sex,
4. (case cp when 'angina' then 0 when 'notang' then 1 else 2 end) as cp,
5. trestbps,
6. chol,
7. (case fbs when 'true' then 1 else 0 end) as fbs,
8. (case restecg when 'norm' then 0 when 'abn' then 1 else 2 end) as restecg,
9. thalach,
10. (case exang when 'true' then 1 else 0 end) as exang,
11. oldpeak,
12. (case slop when 'up' then 0 when 'flat' then 1 else 2 end) as slop,
13. ca,
14. (case thal when 'norm' then 0 when 'fix' then 1 else 2 end) as thal,
15. (case status when 'sick' then 1 else 0 end) as ifHealth
16. from ${t1};

2. Feature Engineering

3. Model Training and Prediction

4. Evaluation

Summary

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store