Resumen
In today?s world, heart disease is the leading cause of death globally. Researchers have proposed various methods aimed at improving the accuracy and efficiency of the clinical diagnosis of heart disease. Auxiliary diagnostic systems based on machine learning are designed to learn and predict the disease status of patients from a large amount of pathological data. Practice has proved that such a system has the potential to save more lives. Therefore, this paper proposes a new framework for predicting heart disease using the smote-xgboost algorithm. First, we propose a feature selection method based on information gain, which aims to extract key features from the dataset and prevent model overfitting. Second, we use the Smote-Enn algorithm to process unbalanced data, and obtain sample data with roughly the same positive and negative categories. Finally, we test the prediction effect of Xgboost algorithm and five other baseline algorithms on sample data. The results show that our proposed method achieves the best performance in the five indicators of accuracy, precision, recall, F1-score and AUC, and the framework proposed in this paper has significant advantages in heart disease prediction.