1 of 11

Prediction and analysis of heart disease data based on machine learning

School of Global Public Health, New York University

Haoping Li

2023-04-18

2 of 11

CONTENTS

  • Introduction and Significance
  • Research Question
  • Methods
  • Results
  • Conclusions
  • References

3 of 11

Introduction and Significance

What do we know about this problem?

Heart disease is a serious threat to human life

What is the significance?

To prove machine learning could be used to predict

Gaps

Outdated, limited to a certain region

4 of 11

Research Question

Research question

Hypothesis

What factors can help people better identify whether heart disease will occur by analyzing people‘s research data, and using machine learning to identify the diagnostic risk of heart disease? And find out which model would perform better among different machine-learning methods.

We assume that logical regression would be the best algorithm to predict the risk of a heart attack in this study.

5 of 11

Methods

Data Source and Study Design

Measures

Outcome :

Target – Diagnosis of heart disease(1 = true; 0 = false)

Exposure:

cp: chest pain type trestbps: resting blood pressure,

Statistical Analysis

Data Processing - Missing value

Training and Modeling - Training and Testing data

Model Evaluation – AUC & ROC, MSE, Confusion Matrix

Heart Disease Data Set from the UC Irvine Machine Learning Repository

Logical Regression, Decision Tree, Random Forest, KNN

6 of 11

Results

According to the statistics of the age variable and cholesterol variable, it can be seen from the results that whether heart disease will occur is highly related to these two factors.

The AUC value of the Logistic model is the best, indicating that the performance of the model is relatively good.

The accuracy of the random forest model is the highest, indicating that the model has the highest prediction result on the test set.

7 of 11

The visualization of correlation analysis refers to the analysis of two or more variable elements with correlation.

A confusion matrix is a table that summarizes the performance of a binary classification model by comparing the predicted labels with the true labels. It can help you to calculate evaluation metrics, identify types of errors, and visualize model performance.

8 of 11

Conclusions

Interpretation of the main finding

Limitations

The best AUC value among them is for the logistic model, which shows that the model performs rather well. The random forest model has the maximum accuracy, which means that it has the best test set prediction outcome.

Data size and time

Diversity in heart disease

The setting of the parameter

Model

Accuracy

AUC

Logistic model

0.1758

0.821

KNN

0.5934

0.592

Decision tree

0.6044

0.600

Random forest

0.7363

0.734

9 of 11

Implications/Recommendations

  • Early detection

  • Personalized treatment

  • Health policy

  • Future research

10 of 11

References

Ali Md Mamun,Paul Bikash Kumar,Ahmed Kawsar,Bui Francis M.,Quinn Julian M.W.,Moni Mohammad Ali. Heart disease prediction using supervised machine learning algorithms: Performance analysis and comparison[J]. Computers in Biology and Medicine,2021,136.

Jae Won Choi,Young Keun Choi. The Prediction of Heart Disease using Machine Learning Technique[J]. International Journal of Innovative Technology and Exploring Engineering (IJITEE),2020,9(5).

Prediction of Heart Disease using Machine Learning[J]. International Journal of Recent Technology and Engineering,2019,8(210).

11 of 11

THE END

THANKS