Issue |
E3S Web Conf.
Volume 500, 2024
The 1st International Conference on Environment, Green Technology, and Digital Society (INTERCONNECTS 2023)
|
|
---|---|---|
Article Number | 01011 | |
Number of page(s) | 8 | |
Section | Computer Science | |
DOI | https://doi.org/10.1051/e3sconf/202450001011 | |
Published online | 11 March 2024 |
Machine Learning Techniques for Heart Disease Classification Using K-Nearest Neighbor Optimization with Particle Swarm Optimization
1 Departement of Informatics, Sekolah Tinggi Teknologi Ronggolawe, Blora, Indonesia
2 Departement of Mechanical Engineering, Sekolah Tinggi Teknologi Ronggolawe, Blora, Indonesia
* Corresponding author: retnowahyusari@gmail.com
Diseases contribute significantly to mortality rates, with data from the World Health Organization (WHO) indicating that Indonesia faces challenges posed by at least 10 diseases with the highest fatality rates. Among these, heart disease ranks second only to stroke. Recent statistics show a 1.25% increase in deaths attributed to heart or cardiovascular diseases in Indonesia compared to the previous year. Given the substantial impact of heart disease, accurate diagnosis becomes crucial for effective prevention and treatment. Machine learning, particularly classification methods, can be employed in diagnostic activities. Classification involves grouping based on specific characteristics for diagnosis, and various methods, including decision trees, Naive Bayes, Support Vector Machine, and k-NN, are utilized. k-NN, despite its simplicity, faces challenges due to prolonged classification processes caused by using all training data. To address this, the feature selection method, particularly Particle Swarm Optimization (PSO), can be employed to optimize the k-NN algorithm. In the context of heart disease classification, the application of k-NN resulted in an accuracy rate of 60.13%. However, when optimizing k-NN with PSO, the accuracy rate significantly improved to 90.75%, demonstrating the efficacy of this approach in overcoming the limitations of using k-NN alone.
© The Authors, published by EDP Sciences, 2024
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.