A proposed model using Naïve Bayes and generalized linear models for early detection of heart attack risk

Oman Somantri, Linda Perdana Wanti


Timely identification of diseases, particularly heart attacks is crucial for individuals, particularly the elderly, to accurately anticipate the onset of the disease based on symtoms. The objective of this study is to develop a highly accurate model for early detection of heart disease using the Naïve Bayes (NB) and generalized linear model (GLM) techniques. In addition, another concern is the model’s subfar accuracy levels, promting the implementation of measures to optimize it. The suggested approach fot optimization involves the utilization of a genetic algorithm (GA). The research findings indicate that the NB and GLM approaches achive a reasonably high level of accuracy. Specifically, the NB model achieves an accuracy of 82.53%, while the GLM achieves an accuracy of 84.50%. Following optimization, the accuracy levels notably improved, with the NB_M-GA model reaching 85.83% and the GLM_M-GA model achieving 86,48%.


Early detection; Generalized linear model; Genetic algorithm; Heart attack; Naïve Bayes

Full Text:


DOI: http://doi.org/10.11591/ijeecs.v33.i2.pp1169-1176


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

The Indonesian Journal of Electrical Engineering and Computer Science (IJEECS)
p-ISSN: 2502-4752, e-ISSN: 2502-4760
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).

shopify stats IJEECS visitor statistics