Literature DB >> 28087850

A Hybrid ANN-GA Model to Prediction of Bivariate Binary Responses: Application to Joint Prediction of Occurrence of Heart Block and Death in Patients with Myocardial Infarction.

Negin-Sadat Mirian1, Morteza Sedehi2, Soleiman Kheiri1, Ali Ahmadi1.   

Abstract

BACKGROUND: In medical studies, when the joint prediction about occurrence of two events should be anticipated, a statistical bivariate model is used. Due to the limitations of usual statistical models, other methods such as Artificial Neural Network (ANN) and hybrid models could be used. In this paper, we propose a hybrid Artificial Neural Network-Genetic Algorithm (ANN-GA) model to prediction the occurrence of heart block and death in myocardial infarction (MI) patients simultaneously.
METHODS: For fitting and comparing the models, 263 new patients with definite diagnosis of MI hospitalized in Cardiology Ward of Hajar Hospital, Shahrekord, Iran, from March, 2014 to March, 2016 were enrolled. Occurrence of heart block and death were employed as bivariate binary outcomes. Bivariate Logistic Regression (BLR), ANN and hybrid ANN-GA models were fitted to data. Prediction accuracy was used to compare the models. The codes were written in Matlab 2013a and Zelig package in R3.2.2.
RESULTS: The prediction accuracy of BLR, ANN and hybrid ANN-GA models was obtained 77.7%, 83.69% and 93.85% for the training and 78.48%, 84.81% and 96.2% for the test data, respectively. In both training and test data set, hybrid ANN-GA model had better accuracy.
CONCLUSIONS: ANN model could be a suitable alternative for modeling and predicting bivariate binary responses when the presuppositions of statistical models are not met in actual data. In addition, using optimization methods, such as hybrid ANN-GA model, could improve precision of ANN model.

Entities:  

Keywords:  Artificial Neural Network; Bivariate Logistic Regression; Genetic Algorithm; Heart Block; Myocardial Infarction

Mesh:

Year:  2016        PMID: 28087850      PMCID: PMC7189924     

Source DB:  PubMed          Journal:  J Res Health Sci        ISSN: 2228-7795


Introduction

The joint occurrence of events correlated with each other is always considered by researchers in medical sciences. In classical statistics, when the aim is joint prediction of two events (or response variables) somehow correlated, bivariate models are used. When both response variables are qualitative, bivariate logistic regression model is used. Usually, traditional statistical models are based on some certain presuppositions such as specified distribution of response variables, linear relationship among dependent and independent variables, and equality of variance in errors that may not be true in actual data[1]. Artificial Neural Network (ANN) could be an alternative method versus classical statistical models, which does not require the mentioned presuppositions of classic models and can be easily fitted for linear and nonlinear relationships[2]. Multi-layer perceptron (MLP) is the most commonly used form of ANN. Learning in MLP is done based on back-propagation (BP) algorithm by minimizing the sum of squared errors[3]. For better efficiency of ANN model, it is necessary to optimize the parameters of model such as initial value of weights. Genetic algorithm (GA) is one of the optimization methods in ANN models[4]. GA as a technique for optimization based on Darwin theory of evolution "Survival of fittest" was first developed by John Holland. Basic operations in GA are reproduction, crossover and mutation. By combining ANN and GA, we can expect more accurate results[5]. Flowchart of a typical genetic algorithm is shown in Figure 1[6].
Figure 1
Flowchart of a typical genetic algorithm Acute myocardial infarction (AMI) is referred to the constant and irrevocable cell death in a part of myocardium, which is due to the loss of blood flow and occurrence of a severe ischemia in that part. Despite wide diagnostic advancements, nearly 33% of the patients with myocardial infarction (MI) die and 5%-10% of the survived patients die within the first year after MI. There are approximately 1,500,000 AMI patients and about 25% of the mortality is attributed to this disease in USA[7]. Iran Ministry of Health and Medical Education has reported that about 39% of total mortality in Iran is due to cardiovascular diseases[8], [9]. Over 60% of the deaths due to MI are happen within one hour after MI and most of them are caused by arrhythmias, with ventricular fibrillation and bundle branch block as two prevalent types. Nowadays, MI is the most common cause of death in many communities and is associated in hospitals with several complications such as atrioventricular node block and bundle branch block. According to WHO report, AMI is the leading cause of mortality in the world, particularly Iran cardiac arrhythmias are the most prevalent reason for death from AMI[10]. Heart blocks are an important class of arrhythmias and lead to prolonged hospitalization and increased in-hospital mortality. Therefore, they attract attention[10]. Because medical studies are related to human health, therefore, precise and accurate predictions are of great importance in these studies. Due to the limitations of traditional statistical methods in modeling bivariate responses, in this paper, we made an attempt to introduce a new approach with fewer restrictions based on a hybrid ANN-GA method to modeling and predicting bivariate binary responses and using this model to prediction of occurrence of heart block and death in MI patients simultaneously. We also compared prediction accuracy of this model with BLR and ANN models.

Methods

To evaluate the suitability of the proposed model compare with traditional methods for modeling and predicting bivariate binary responses, we used data from a cross-sectional study. In this study, 263 new patients with definite diagnosis of MI hospitalized in Cardiology Ward of Hajar Hospital, Shahrekord, Iran, from March, 2014 to March, 2016 were enrolled. The diagnosis of MI was done according to the WHO criteria by a cardiologist per International Classification of Diseases (ICD10: the codes I24.9, I25.2, I22, and I21). Demographic characteristics and clinical history of the patients were gathered by a checklist at the time of admission. In BLR model, for i-th observation, two dependent variables Yi1 and Yi2 defined that has four potential outcomes, (Yi1=1 ,Yi2=1), (Yi1=0 ,Yi2=1), (Yi1=1 ,Yi2=0), (Yi1=0 ,Yi2=0) [11]. The joint probability πrs=Pr(Y1=r, Y2=s) is modeled with marginal probability π1=Pr(Y1=1) and π2=Pr(Y2=1), and ψ, which parameterizes dependence between dependent variables. The model defined as: Y11‏~Bernoulli(y11|π11) Y10‏~Bernoulliy10|π10 Y01‏~Bernoulliy01|π01 and Where π00=1-π11-π10-π01.Thus for each observation: , and joint probabilities are calculated as follows: π10=π1-π11, π01=π2-π11, π00=1-π10-π01-π11 Where a=1+(π1+π2)(ψ-1) and b=-4ψ(ψ-1)π1π2[12,13]. For fitting BLR model, gender, the type of MI, history of diabetes, history of hypertension, dyslipidemias, history of heart disease, the rate of cardiac output fraction, systolic blood pressure, diastolic blood pressure, fasting blood sugar , non-fasting blood sugar, cholesterol, triglyceride, low-density blood cholesterol, smoking and the level of troponin enzyme considered as independent (input) variables, and occurrence of heart block (y1) as well as occurrence of death (y2) during hospitalization, employed as two dependent binary variables (outcomes). We used 184 (70%) cases as training data set and 79 (30%) cases as test data set. Model was fitted with the training data set. Test data set is used for assessment of validity of model (cross validation). For fitting of ANN model, the training and test data set were used as with the bivariate logistic regression. Since, in this research, the outcome is bivariate, so, assuming p input nodes, where p is the number of covariates, 1 hidden layer, M nodes in hidden layer and 2 nodes in output layer, the ANN architecture can be written as: where wjs is the weight for input xis at the hidden node j. Also, βj is the weight dependent to the hidden node j, and wj0 and β0 are the biases for the hidden and the output nodes respectively. The function Ψh is activation functions of hidden layer and the function Ψo is activation functions of output layer[2]. We fitted MLP with one hidden layer, including 8-14 nodes. To identify the number of nodes in hidden layer, mean square error (MSE) criterion was used. Sigmoid activation function was considered for hidden and output layers. Several training algorithms including gradient descent (GD), gradient descent momentum (GDM), conjugate gradient algorithm (CGA), scaled conjugate gradient (SCG), Broyden-Fletcher-Goldfarb-Shanno (BFGS), one step secant (OSS) and Levenbery-Marqwardt (LM) were used for training. All these algorithms are from BP algorithm family[14]. After determining the final architecture of ANN model and select the best training algorithm, genetic algorithm was used optimize initial weights in ANN model and hybrid ANN-GA model was fitted to data. Figure 2 shows the stages of implementation of proposed hybrid model to optimize the initial values of the weights in ANN by genetic algorithm. The prediction in the bivariate models was considered correct, when both y1 and y2 variables are predicted correctly by models. Prediction accuracy was used for evaluating the models. This criterion was defined as percentage of correct joint prediction of the two binary outcomes. To implement the models, Matlab 2013a for ANN and ANN-GA models and Zelig package in R3.2.2 for bivariate logistic regression model were used[13].
Figure 2
Flowchart of proposed hybrid ANN-GA model

Results

Of the 263 samples, 221 people (84.0%) had experienced heart block that (6.3%) of them died and 42 people (15.9%) had not experienced heart block that (19.0%) of them died. Correlation between two outcome variables was significant (P=0.006). Tables 1 and 2 present the descriptive information of general characteristics of patients.
Table 1

General characteristics of quantitative variables for myocardial infarction patients

Variables With heart block Without heart block P value With death Without death P value
Mean SD Mean SD Mean SD Mean SD
Age (yr)67.191.8060.330.910.00260.593.4361.500.850.761
Level of troponin (ng/mL)9.402.2213.031.890.41238.4512.6910.081.310.001
Rate of cardiac output fraction35.2910.4040.907.520.00133.9110.6340.567.830.001
Systolic blood pressure (mmHg)136.7929.12132.0124.250.251127.2729.75133.2824.630.283
Diastolic blood pressure (mmHg)78.5222.5178.4619.010.98076.6822.5078.8119.290.342
Fasting blood sugar(mg/dL)177.0782.59147.8066.840.013200.4585.58148.0967.270.001
Non-fasting blood sugar (mg/dL)28.6026.2227.2926.920.77026.3622.3527.6127.170.830
Cholesterol (mg/dL)202.3861.89202.763.320.970223.0974.71200.2061.620.103
Triglyceride (mg/dL)39.5531.8737.4229.770.52033.9526.5138.1130.390.532
High-density lipid (mg/dL)43.7910.4746.5227.530.52042.3613.3246.4226.420.472
Table 2

General characteristics of qualitative variables for myocardial infarction patients

Variables With heart Block Without heart Block P value With death Without death P value
Number Percent Number Percent Number Percent Number Percent
Gender (Male)3071.416775.60.5711672.718175.10.806
History of diabetes (yes)3173.817277.80.5691777.318677.20.992
History of hypertension (yes)2354.813862.40.3491254.514961.80.502
Dyslipidemias (yes)3276.217177.40.1671777.318677.20.992
History of Heart Diseases (yes)2047.615971.90.0021254.516769.30.156
Smoking (yes)1433.311049.80.050836.411648.10.290

The results of the bivariate logistic regression model for significant independent variables are shown in Table 3. Age, level of troponin and history of heart disease were significant variables in bivariate model. Prediction accuracy of ANN model with different training algorithms for training and test data set is presented in Table 4. Among different training algorithms in ANN model, LM algorithm had the highest performance.

The results of the bivariate logistic regression model for significant independent variables are shown in Table 3. Age, level of troponin and history of heart disease were significant variables in bivariate model. Prediction accuracy of ANN model with different training algorithms for training and test data set is presented in Table 4. Among different training algorithms in ANN model, LM algorithm had the highest performance.
Table 3

Results of bivariate logistic regression model for significant independent variables

Variables Coefficient SE of Coefficient P value
Intercept (1)-3.871.160.001
Intercept (2)-8.852.020.001
Intercept (3)1.840.710.011
Age (yr)0.070.020.002
Level of Troponin0.020.070.006
History of heart disease1.050.440.010
GD: gradient descent algorithm; CGA: conjugate gradient algorithm; GDM: gradient descent momentum; OSS: one step secant; SCG: scaled conjugate gradient; BFGS: Broyden-Fletcher-Goldfarb-Shanno; LM: Levenbery-Marqwardt Table 5 compares prediction accuracy of hybrid ANN-GA model against BLR and ANN models. In both training and test data set, hybrid ANN-GA model had better accuracy compared with other models.
Table 5

Prediction accuracy of models for training and test data set

Model BLR ANN (LM) Hybrid ANN-GA
Training Data Set77.7083.6993.85
Test Data Set78.4884.8196.20

BLR: bivariate logistic regression; ANN: artificial neural network (with LM algorithm); Hybrid ANN-GA: hybrid artificial neural network-genetic algorithm

BLR: bivariate logistic regression; ANN: artificial neural network (with LM algorithm); Hybrid ANN-GA: hybrid artificial neural network-genetic algorithm

Discussion

In this paper, we proposed a new approach based on a hybrid ANN-GA model to joint prediction of bivariate dependent binary outcomes. We compared prediction accuracy of this model with other traditional models for joint prediction of occurrence of heart block and death in MI patients. Results showed that proposed hybrid ANN-GA model had better performance compared with BLR and ANN models. Better performance of ANN model compared to classic models has been confirmed already[14-16]. Because the ANN model lacks many of limitations of classic models, in many situations, it can be a suitable alternative for these models when some (or all) of their conditions are not met in the analysis of actual data[15]. Besides, results of this study showed that hybrid ANN-GA model, because of optimization of parameters of ANN model, can improve precision of ANN model. Despite the benefits of ANN and hybrid ANN-GA models, these methods suffer from some limitations and problems. For example, in these models, statistical inference for parameters and checking significant relationship between dependent and independent variables are not possible, because, the distribution of the parameters is not specified in ANN and hybrid models[15]. ANN and hybrid models are more appropriate when priority is prediction of dependent variables, or data have a nonlinear and complex structure. If the primary aim is to explain a clear association among dependent and independent variables and to study the effect of independent variables on dependent variables, then classic models such as logistic regression model is preferable[17]. Given the limitations of conventional statistical methods for modeling bivariate responses in actual data, using the proposed method in the present study is also recommended for similar problems.

Conclusions

Hybrid ANN-GA model is the best for prediction of heart block and death simultaneously in MI patients compared with ANN and BLR models, so, considering the importance of accurate prediction in medical studies and due to the limitations of classical statistical methods for modeling bivariate responses, the use of NN and hybrid ANN-GA models is a suitable alternative for analysis of bivariate binary responses.

Acknowledgments

The present study was extracted from MSc thesis and was supported by a grant number 1968 from the Research and Technology Deputy of Shahrekord University of Medical Sciences.

Conflict of interest statement

None declared.
Table 4

Prediction accuracy of different training algorithms in Artificial Neural Network (ANN) model

Training algorithm GDA CGA GDM OSS SCG BFGS LM
Training Data set78.8079.3477.1783.1579.3478.4883.69
Test Data set81.0181.0079.7083.5479.7476.6384.81

GD: gradient descent algorithm; CGA: conjugate gradient algorithm; GDM: gradient descent momentum; OSS: one step secant; SCG: scaled conjugate gradient; BFGS: Broyden-Fletcher-Goldfarb-Shanno; LM: Levenbery-Marqwardt

  8 in total

1.  Incidence of acute myocardial infarction in Islamic Republic of Iran: a study using national registry data in 2012.

Authors:  A Ahmadi; H Soori; Y Mehrabi; K Etemad; T Samavat; A Khaledifar
Journal:  East Mediterr Health J       Date:  2015-02-25       Impact factor: 1.628

Review 2.  Advantages and disadvantages of using artificial neural networks versus logistic regression for predicting medical outcomes.

Authors:  J V Tu
Journal:  J Clin Epidemiol       Date:  1996-11       Impact factor: 6.437

3.  Likelihood models for clustered binary and continuous outcomes: application to developmental toxicology.

Authors:  M M Regan; P J Catalano
Journal:  Biometrics       Date:  1999-09       Impact factor: 2.571

4.  Correlated bivariate continuous and binary outcomes: issues and applications.

Authors:  Armando Teixeira-Pinto; Sharon-Lise T Normand
Journal:  Stat Med       Date:  2009-06-15       Impact factor: 2.373

5.  A non-parametric method for hazard rate estimation in acute myocardial infarction patients: kernel smoothing approach.

Authors:  Ali Reza Soltanian; Mahjub Hossein
Journal:  J Res Health Sci       Date:  2012

6.  Risk factors for premature myocardial infarction: a matched case-control study.

Authors:  Tooba Kazemi; Gholam Reza Sharifzadeh; Asghar Zarban; Azita Fesharakinia; Mohamad Reza Rezvani; Seyed Ali Moezy
Journal:  J Res Health Sci       Date:  2011-11-04

7.  Application of artificial neural network in predicting the survival rate of gastric cancer patients.

Authors:  A Biglarian; E Hajizadeh; A Kazemnejad; Mr Zali
Journal:  Iran J Public Health       Date:  2011-06-30       Impact factor: 1.429

8.  Predictive Factors of Hospital Mortality Due to Myocardial Infarction: A Multilevel Analysis of Iran's National Data.

Authors:  Ali Ahmadi; Hamid Soori; Yadollah Mehrabi; Koorosh Etemad; Homeira Sajjadi; Mehraban Sadeghi
Journal:  Int J Prev Med       Date:  2015-11-19
  8 in total
  1 in total

1.  Treatment of individual predictors with neural network algorithms improves Global Registry of Acute Coronary Events score discrimination.

Authors:  Raul A Borracci; Claudio C Higa; Graciana Ciambrone; Jimena Gambarte
Journal:  Arch Cardiol Mex       Date:  2021
  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.