Next Article in Journal
Bioremediation of Wastewater Using Yeast Strains: An Assessment of Contaminant Removal Efficiency
Previous Article in Journal
Oral Cavity Clinical Evaluation in Psychiatric Patients with Eating Disorders: A Case-Control Study
Previous Article in Special Issue
Automatic Detection of Oral Squamous Cell Carcinoma from Histopathological Images of Oral Mucosa Using Deep Convolutional Neural Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Machine Learning Approach for Monitoring and Classifying Healthcare Data—A Case of Emergency Department of KSA Hospitals

by
Mahmoud Ragab
1,2,*,
Faris Kateb
1,
Mohammed W. Al-Rabia
3,4,
Diaa Hamed
5,6,
Turki Althaqafi
7 and
Abdullah S. AL-Malaise AL-Ghamdi
7,8
1
Information Technology Department, Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah 21589, Saudi Arabia
2
Mathematics Department, Faculty of Science, Al-Azhar University, Naser City, Cairo 11884, Egypt
3
Department of Medical Microbiology and Parasitology, Faculty of Medicine, King Abdulaziz University, Jeddah 21589, Saudi Arabia
4
Health Promotion Center, King Abdulaziz University, Jeddah 21589, Saudi Arabia
5
Mineral Resources and Rocks Department, Faculty of Earth Sciences, King Abdulaziz University, Jeddah 21589, Saudi Arabia
6
Geology Department, Faculty of Science, Al-Azhar University, Naser City, Cairo 11884, Egypt
7
Information Systems Department, HECI School, Dar Alhekma University, Jeddah 22246, Saudi Arabia
8
Information Systems Department, Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah 21589, Saudi Arabia
*
Author to whom correspondence should be addressed.
Int. J. Environ. Res. Public Health 2023, 20(6), 4794; https://doi.org/10.3390/ijerph20064794
Submission received: 7 February 2023 / Revised: 4 March 2023 / Accepted: 6 March 2023 / Published: 8 March 2023
(This article belongs to the Special Issue Machine Learning for Healthcare Applications)

Abstract

:
The Emergency Departments (EDs), in hospitals located in a few important areas in Saudi Arabia, experience a heavy inflow of patients due to viral illnesses, pandemics, and even on a few special occasions events such as Hajj or Umrah, when pilgrims travel from one region to another with severe disease conditions. Apart from the EDs, it is critical to monitor the movements of patients from EDs to other wards inside the hospital or in the region. This is to track the spread of viral illnesses that require more attention. In this scenario, Machine Learning (ML) algorithms can be used to classify the data into many classes and track the target audience. The current research article presents a Machine Learning-based Medical Data Monitoring and Classification Model for the EDs of the KSA hospitals and is named MLMDMC-ED technique. The most important aim of the proposed MLMDMC-ED technique is to monitor and track the patient’s visits to the EDs, the treatment given to them based on the Canadian Emergency Department Triage and Acuity Scale (CTAS), and their Length Of Stay (LOS) in the hospital, based on their treatment requirements. A patient’s clinical history is crucial in terms of making decisions during health emergencies or pandemics. So, the data should be processed so that it can be classified and visualized in different formats using the ML technique. The current research work aims at extracting the textual features from the patients’ data using the metaheuristic Non-Defeatable Genetic Algorithm II (NSGA II). The data, collected from the hospitals, are classified using the Graph Convolutional Network (GCN) model. Grey Wolf Optimizer (GWO) is exploited for fine-tuning the parameters to optimize the performance of the GCN model. The proposed MLMDMC-ED technique was experimentally validated on the healthcare data and the outcomes indicated the improvements of the MLMDMC-ED technique over other models with a maximum accuracy of 91.87%.

1. Introduction

The demand for medical care has dramatically increased, especially after the COVID-19 pandemic. So, the problem of managing the Emergency Departments (ED) in hospitals, especially the inflow of patients, is certainly a major problem that needs to be carefully alleviated [1]. If it is not appropriately managed, then this might result in overcrowding, and a degradation in the quality of services. EDs are the first access point for patients who are transported with urgent concerns such as injury and sudden illness without any history of ailments [2]. This makes the functioning of EDs increasingly difficult due to resource constraints for the treatment level required, unpredicted time of patients’ arrival, and various requirements of the patients [3]. Figure 1 shows the block diagram of the emergency department process in which the smart sensing devices are enabled to collect the patient’s data. Then, the data gets transferred to both fog and cloud computing users via wireless connections for data analysis. Finally, the examined data are passed on to remote users such as physicians, hospital authorities, etc.
The demand for ED services has increased gradually over the past few years, especially after COVID-19. Consequently, the EDs are confronted with multiple issues and heavy pressure, produced by a high inflow of patients, which places them among the most-crowded departments of the hospital. Various research conducted earlier on ED found that the department encounters a large number of difficulties in satisfying the mission of the organization [4]. Therefore, it is crucial to develop a precise forecasting model for EDs for effective crowd management and proper optimization of the available resources [5]. The increased utilization of Electronic Health Records (EHR) systems has brought extraordinary opportunities for the medical informatics field [6]. Various research investigations have been conducted using this information on different tasks such as comparative effectiveness research, predictive modelling, and disease subtyping. The Machine Learning (ML) approach is a traditional tool for executing this task [7].
ML is a sub-field of Artificial Intelligence, and this technique represents the capability of IT systems to individually find solutions for problems via pattern recognition in the databases [8]. The ML techniques allow the IT systems to identify the patterns based on the existing technique and the dataset to design a novel satisfactory solution. The metaheuristic techniques aim to identify the optimal solution, from all the probable solutions to the optimization issue under consideration [9]. They determine the effective solutions and carry out a sequence of functions to find a specific effective solution. The metaheuristics techniques operate on a representation or encoding of a solution. This object can be stored in computer memory and conveniently manipulated by different operators, employed by the metaheuristic technique [10]. Metaheuristics have been demonstrated by the scientific community as a viable, and often superior alternative to the traditional (exact) methods of mixed-integer optimization such as the branch and bound, and dynamic programming.
Various studies have used ML models for the examination of healthcare data. In the literature [11], an emergency patient classification method was proposed based on an SVM classifier. The proposed method can be executed as a web application, expressed in PHP, and runs on the MySQL dataset. In this study, the GIS technique was utilized for analyzing the spatial data and generating relevant reports. The presented method categorized the emergency patients as distinct groups based on their severity and standard government. In the study conducted earlier [12], a Deep Belief Network (DBN) was proposed to overcome the issues faced in patient attendance disposals from the Accident and Emergency (A&E) department. The PSO technique was utilized in this study to fine-tune the hyperparameters utilized for the DBN model. The PSO technique helped in achieving an easy, simple, and comparatively fast convergence rate with a satisfactory solution. To be specific, the newly established Randomly Occurring Distributed Delayed PSO (RODDPSO) technique was able to attain the optimum solutions. The enhanced early convergence characteristic was used for the optimization of the hyperparameters involved in DBN.
Krämer et al. [13] developed a method for the classification of in-patient admissions, based on initial patient analysis, as either emergency care and selective care or predictive urgency, in the form of numerical values. The authors utilized the supervised ML systems and trained the method using physician-expert judgment. In this method, an urgency value is applied to all the relevant analyses, quoted in the ICD catalogue. The value was simply applied to the predefined hospital datasets. The findings offered a fundamental framework for strategy makers to create incentives for the clinics to minimize the count of incorrect ED admissions. Harrou et al. [14] presented an effectual system for forecasting continuous visits to the ED, utilizing Variational AutoEncoder (VAE) technique. Certainly, the VAE technique, as a DL-based method, obtained special attention in the modelling and extraction of the features. This is attributed to their distribution-free assumption and maximum non-linear calculation.
Kamruzzaman et al. [15] proposed a Fuzzy-Assisted ML framework (F-AMLF) to identify the method for the mitigation of costs incurred upon device resources, while at the same time, retaining the efficacy limitation. In this method, the patients might submit their demands for healthcare in a fuzzy-assisted fog computing system. The proposed technique made use of fuzzy logic to evaluate the computing ability required to preserve the fog and cloud projections. Raza et al. [16] designed a novel end-to-end architecture in a federated setting for ECG-based healthcare with the help of deep Convolutional Neural Networks (CNN) and explainable Artificial Intelligence (XAI). Additionally, the presented architecture successfully categorized diverse arrhythmias using the classifier and Autoencoder, based on CNN.
Chen et al. [17] introduced a DL-based ECG signal super-resolution framework (named SRECG) to improve the low-resolution ECG signals through equal consideration of the performance. In this study, a DL-based high-resolution multiclass classifier (HMC) of the CAs was used. Newaz et al. [18] proposed HealthGuard, a novel ML-based security framework to identify malicious activities in SHS. This framework i.e., HealthGuard observes the major signs of the connected device of SHS and relates the vitals of the human body to understand any changes in them and differentiate the benign activities from the malignant ones. HealthGuard exploited four different ML-based detection methods (such as Decision Tree, Artificial Neural Network, k-Nearest Neighbor, and Random Forest) to identify the malicious activities in SHS. In a real-time scenario, the author [19] re-defined the SE system of securely outsourcing the electrocardiogram (ECG) data in untrusted BSN environments. If the ECG data are outsourced for disease classification based on the ML algorithm, it can be inferred that the classical SE scheme may not be the correct design. In the literature [20,21,22,23,24], the authors introduced a Learning-based Deep-Q-Network to reduce malware attacks, when dealing with healthcare data. This technique examined the medical data in multiple layers, based on a Q-learning model that assists in minimizing the intermediate attacks with less complexity.
Though several models are available in the literature, only a few works have focused on the feature selection process. At the same time, owing to continuous refinement of the existing models, there is a rapid increase in the number of parameters in DL models too, which in turn results in model overfitting. At the same time, different hyperparameters exert a significant impact on the efficiency of the CNN model. Particularly, hyperparameters such as epoch count, batch size, and the learning rate selection are essential to attain effectual outcomes. Since the trial-and-error method for hyperparameter tuning is a tedious and erroneous process, metaheuristic algorithms are applied.
The current research article presents a Machine Learning-based Medical Data Monitoring and Classification Model for the EDs in the hospitals of KSA and the model is abbreviated as the MLMDMC-ED technique. The proposed model aims to extract the textual features from the patients’ data using the metaheuristic Non-Defeatable Genetic Algorithm II (NSGA II). The data, collected from the hospitals, is then classified using the Graph Convolutional Network (GCN) method. Further, Grey Wolf Optimizer (GWO) method is exploited as a parameter-tuning process in this study to optimize the performance of the GCN model. The proposed MLMDMC-ED technique was experimentally validated using the healthcare data under different measures. The experimental outcomes confirmed the improvements of the proposed MLMDMC-ED technique over other models.

2. The Proposed Model

The current research article presents the Machine Learning-based Medical Data Monitoring and Classification model for the EDs of the KSA hospitals, abbreviated as the MLMDMC-ED technique. The most important aim of the proposed technique is to monitor and track the patient’s visits to the EDs and the treatment given to them at the hospital based on CTAS and LOS as per the patients’ conditions. Patients’ data are crucial in making important clinical decisions during health emergencies or pandemics. Initially, the data are pre-processed through a min-max normalization approach, which scales the input data in the range of [0, 1]. It is important for the data to be appropriate to easily classify and use under many visualization formats using the ML model. The presented model exploited the NSGA II technique to choose the features. For classification, the GWO with GCN model is employed in this work. Figure 2 exhibits the working procedure of the proposed MLMDMC-ED system.

2.1. Feature Selection Using NSGA II Approach

Non-Defeatable Genetic Algorithm II (NSGA II) is one of the well-known and effective multi-objective optimization techniques. This method is the most powerful and fastest optimization technique with less operating difficulty than the rest of the techniques [25]. This approach concludes that a model has an optimum range with respect to changing the objective function and it also provides freedom to select the desired design amongst the available optimum designs. In the presented method, the conservation of dispersion and elitism is regarded concurrently. In all the steps of this technique, a novel population is selected based on the principles of dominance, utilization of the population ranking, and elitism in the overall solution steps. Amongst the available answers, the best and the undefeated answer is carefully chosen, thereby returning to the upcoming step.
When two objective functions such as f 1 and f 2 exist, the answer x beats the answer y , thus f 1 x f 1 y and f 2 x f 2 y or f 1 x > f 1 y and f 2 x > f 2 y . Similarly, an idea named ‘congestion distance’ is utilized to monitor the appropriate density distribution of each answer. In general, all the answers are compared to the rest of the answers in the population to determine whether an answer is defeated and accordingly arrange a population of size n , depending on the non-defeat level. At last, there exist many solutions and any of them may overcome the other one; thus, this solution forms an initial boundary with invincible boundaries. This answer is then passed on to set F 1 . To define the answer in the following boundary, the answer in the initial boundary is disregarded as a temporary one. The abovementioned procedure is reiterated; this time, the answer is transported to t h e   F 2 set and takes the second position. Figure 3 show Flowchart of NSGA II Algorithm.
This procedure is repeated for each unanswered question in the population. Indeed, arranging non-defeat is a process to accomplish the best answer. Further, the model of diversity seeks to preserve the breadth and diversity of the answer. In the presented method, this can be performed by swarming distance in such a way. This raises the dispersion and diversity of the attained answer.
C D X 1 = C D X S = ,
C D X i = Z 1 X i + 1 Z 1 X i 1 Z 1 X S Z 1 X 1 + Z 2 X i + 1 Z 2 X i 1 Z 2 X S Z 2 X 1 ,   i = 2 ,   , S 1 .
In the abovementioned relationship, C D X denotes the amount of congestion distance for X i ’s answer. Afterwards, both integration and the un-defeated sort are done as shown in steps, 7 and 8.
According to step 10, the swarm distance condition is utilized for the creation of a subset of the final undefeated set, because of the succeeding increase in the population size:
Step 1.
Generate a primary population P 0 of size N with a random answer and set t = 0 ,
Step 2.
When the stopping criteria are not satisfied, return to P t ,
Step 3.
By applying the binary selection operators, choose N parents from the population P t ,
Step 4.
Using the mutation and intersection operators on t h e   P t population, produce a population of Q t children to size N
Step 5.
Set R t = P t U Q t ,
Step 6.
Utilize the invincible ranking model to determine the Pareto F i set in the R t population.
Step 7.
Set P t + 1 = , i = 1 ,
Step 8.
Until P t + 1 + F i < N :
(a)
Add the answer of the set F i to the population P t + 1 , and
(b)
Put i = i + 1 .
Step 9.
Sort the F i set to answer in the descending sequence of congestion
Step 10.
Size N p Transmit from initial answer F i to P t + 1 population, and
Step 11.
Set t = t + 1 and return to Step 2.
In the proposed approach, the fitness function is used to balance the classification accuracy (maximum) whereas the number of selected features, in every solution (minimum) attained through this selected feature, is determined as follows.
F i t n e s s = α γ R D + β R C
Here, γ R D denotes the classification error rate. R indicates the cardinality of the selected subset and C represents the overall number of features in the data and the variables α and β correspond to the significance of the classification quality and the subset length respectively; ∈ [1, 0] and β = 1 α .

2.2. Medical Data Classification Using the GCN Model

For the medical data classification process, the GCN model is utilized in this study. GCN is a multilayer neural network that acts on the graphs directly and produces the embedding vectors based on the neighborhood’s property [26]. Then, a two-stage GCN is utilized for the study. In the literature, Yao et al. utilized it to execute the text classification tasks:
A ^ = D 1 / 2 A D 1 / 2
Here, D denotes the degree of matrix, A . Hence, the output of the initial layer is the novel feature matrix E 1 or the word embedding, which is evaluated as follows
E 1 = R e L U A ^ X W 0
Here, X denotes the input feature matrix, W 0 indicates the initial weight, and ReLU is utilized as an activation function. The next layer is fed to s o f t m a x classification. The number of nodes is similar to the number of labels in the following layer. Hence, the output (O) is evaluated using the following expression:
E 2 = A ^ E 1 W 1
O = s o f t m a x E 2
E 2 indicates the embedding and novel feature matrix for the next layer, and W 1 denotes the weight of the initial layer.

2.3. Hyperparameter Tuning Using GWO Algorithm

The GWO algorithm is exploited in this study as a parameter-tuning process to optimize the performance of the GCN model. Mirjalili et al. [27] developed the GWO technique by simulating the leadership position and hunting strategies of the Grey-Wolves. The GWO technique functions based on flexibility, simplicity, and the avoidance of local optimization, while it also handles multi-variate and non-linear functions. The presented approach depends on the equation; it alters the random response produced during all the iterations which enhance the objective function. Finally, Alpha Wolf, a better primary solution, is obtained, whereby the outcome is the maximum expected income with a minimum investment risk. Grey-Wolves predominantly prefer to live in groups.
In a group, the leader consists of a male and a female named α . The Alpha is mainly accountable for the decisions regarding hunting, when to wake up, where to sleep, etc. The decision of the Alpha is to interact with the groups, while some democratic behaviors are observed in which the α follows another wolf in the group. In the community, the entire herd endorses the α . The Alpha wolf can be called the dominant wolf since its command should be implemented by the group. The Alpha wolf is allowed to mate with the herd’s females. Beta is the wolf that assists the α in making the decisions or other decisions for the herd. β performs the α ’s command through a herd and provides feedback to α . The Omega ( ω ) wolf is the least minimum class in the GW hierarchy. The Delta wolves are subjected to α and β . The optimized solution can be attained by distinct kinds of the wolf α ,   β   a n d   δ agents in the GWO. The new position of a single wolf, in encircling its prey, is defined by the following equations.
G t + 1 = G p t A · D , D = C · G p t G t
A = a × 2 × r 1 1 ,   C = 2 × r 2
Here, t specifies the present iteration and A and C denote the coefficient vectors. A represents a coefficient that lies in the range of 2 to 0 and sum is a random number that differs from 0 to 1.
The position of the wolf is upgraded as follows:
G t + 1 = G 1 + G 2 + G 3 3
G 1 ,   G 2 , and G 3 correspond to dissimilar types of grey wolves ( α ,   β , and δ ) and are evaluated using the following expressions [28]:
D a = C 1 · G α G
D β = C 1 · G β G
D δ = C 1 · G δ G
G 1 = G α A 1 · D α
G 2 = G β A 2 · D β
G 3 = G δ A 3 · D δ
The Gray Wolf group finishes the hunt by attacking and encircling their prey. To obtain this, they should go to a certain location to approach the prey while the attack can be accomplished by changing the values from 2 to 0. To accomplish an improved classification performance, the GWO algorithm derives a fitness function. It uses a positive integer to denote the good performance of the candidate solution. In the presented model, the reduction in classification error rate is viewed as the fitness function.
f i t n e s s x i = C l a s s i f i e r E r r o r R a t e x i = n u m b e r   o f   m i s c l a s s i f i e d   s a m p l e s T o t a l   n u m b e r   o f   s a m p l e s 100

3. Results and Discussion

In this section, the performance of the proposed MLMDMC-ED technique was validated using two datasets such as the Cleveland dataset (https://archive.ics.uci.edu/ml/datasets/heart+disease (accessed on 6 February 2023)) and the Statlog dataset (https://archive.ics.uci.edu/ml/datasets/statlog+(heart) (accessed on 6 February 2023)). The proposed model was simulated using the Python tool. Table 1 illustrates the details of both datasets used in the study.
The proposed model considered the following attributes: Age, sex, cp, trestbps, chol, fbs, restecg, exang, Thalach, oldpeak, slope, ca, and thal. The confusion matrices, generated by the proposed MLMDMC-ED technique on the Cleveland dataset, are portrayed in Figure 4. With 80% of the TR database, the proposed MLMDMC-ED model classified 126 samples under the absence class and 82 samples under the presence class. In addition, with 20% of the TS database, the presented model positioned 33 samples under the absence class and 21 samples under the presence class. In addition, with 70% of the TR database, the proposed MLMDMC-ED approach recognized 105 samples as absence class and 83 samples as presence class.
Table 2 and Figure 5 portray the detection results obtained by the proposed MLMDMC-ED method on the Cleveland dataset. On 80% of the TR database, the proposed model gained the average a c c u b a l , p r e c n , r e c a l , F s c o r e , and MCC values of 86.94%, 90.65%, 86.94%, 87.33%, and 77.49%, respectively. Moreover, on 20% of the TS database, the presented model gained the average a c c u b a l , p r e c n , r e c a l , F s c o r e , and MCC values of 88.91%, 91.15%, 88.91%, 89.58%, and 80.03% respectively. Furthermore, on 70% of the TR database, the MLMDMC-ED model attained the average a c c u b a l , p r e c n , r e c a l , F s c o r e , and MCC values of 90.51%, 91.28%, 90.51%, 90.72%, and 81.78% correspondingly.
The Training Accuracy ( T R a c c ) and Validation Accuracy ( V L a c c ) values, obtained by the proposed MLMDMC-EDR method upon the Cleveland database, are illustrated in Figure 6. The outcomes exhibit that the MLMDMC-EDR approach reached the highest T R a c c and V L a c c values whereas the V L a c c values were higher than the T R a c c values.
The Training Loss ( T R l o s s ) and Validation Loss ( V L l o s s ) values, attained by the proposed MLMDMC-EDR approach on the Cleveland database, are illustrated in Figure 7. The experimental outcomes infer that the MLMDMC-EDR algorithm accomplished the minimal T R l o s s and V L l o s s values while the V L l o s s values were less than the T R l o s s values.
The confusion matrices, generated by the proposed MLMDMC-ED model on the Statlog dataset, are portrayed in Figure 8. With 80% of the TR database, the MLMDMC-ED model classified 107 samples under the absence class and 74 samples under the presence class. Furthermore, with 20% of the TS database, the proposed MLMDMC-ED model segregated 30 samples under the absence class and 20 samples under the presence class. In addition, with 70% of the TR database, the MLMDMC-ED model identified 91 samples as absence class and 80 samples as presence class.
Table 3 and Figure 9 show the detection outcomes obtained by the proposed MLMDMC-ED approach on the Statlog dataset. On 80% of the TR database, the MLMDMC-ED model obtained the average a c c u b a l , p r e c n , r e c a l , F s c o r e , and MCC values of 83.10%, 984.18%, 83.10%, 83.41%, and 67.27%, correspondingly. Furthermore, on 20% of the TS database, the proposed MLMDMC-ED model gained the average a c c u b a l , p r e c n , r e c a l , F s c o r e , and MCC values of 91.87%, 93.07%, 91.87%, 92.33%, and 84.93%, correspondingly. Moreover, on 70% of TR databases, the presented MLMDMC-ED approach attained the average a c c u b a l , p r e c n , r e c a l , F s c o r e , and MCC values of 91.12%, 90.51%, 91.12%, 90.44%, and 81.62%, correspondingly.
T R a c c and V L a c c values, obtained by the MLMDMC-EDR method on the Statlog database, are illustrated in Figure 10. The experimental outcomes confirm that the MLMDMC-EDR approach achieved the maximum T R a c c and V L a c c values while the V L a c c values were higher than the T R a c c values.
T R l o s s and V L l o s s values, attained by the proposed MLMDMC-EDR approach upon Statlog database, are demonstrated in Figure 11. The experimental outcomes demonstrate that the proposed MLMDMC-EDR algorithm attained the minimum T R l o s s and V L l o s s values whereas the V L l o s s values were less than the T R l o s s values.
In this final stage, a widespread comparative analysis was conducted between the proposed MLMDMC-ED algorithm and other existing approaches and the results are shown in Table 4 and Figure 12 [29]. The outcomes indicate the enhanced performance of the MLMDMC-ED model with a maximum a c c u y of 91.87%. On the contrary, the VNB-LR, fuzzy-NN, DT, ELM, SVM, NB, CART, GA-NN, and DT-GR models achieved the least a c c u y values. Thus, the MLMDMC-ED model can be employed for accurate ransomware detection. The enhanced performance of the proposed model is attributed to the design of the feature subset selection process and hyperparameter tuning process. Moreover, the proposed model can be applied for an accurate and automated medical data classification process in the future.

4. Conclusions

In this study, a new technique has been developed for medical data classification to be applied in the EDs of the KSA hospitals and the model is abbreviated as the MLMDMC-ED technique. The most important aim of the proposed technique is to monitor and track the patient’s visits to the EDs and record the treatment provided to them at the hospital based on CTAS and LOS norms that suit the patient’s clinical requirements. The presented model exploited the NSGA II technique to choose the features. For the purpose of classification, the GWO is employed with the GCN model in this work. The proposed technique was experimentally validated using two different healthcare datasets under different measures. The experimental outcomes confirmed the superior performance of the MLMDMC-ED approach over other methods with a maximum accuracy of 91.87%. The application of the feature subset selection process and parameter tuning process helped in improving the performance of the proposed model. In the future, the experimental results of the proposed technique can be validated using large-scale real-time datasets. Besides, the proposed model can also be extended to the design of medical data classification models in Internet of Things (IoT) and cloud environments.

Author Contributions

Conceptualization, M.R.; Methodology, M.R.; Software, F.K. and T.A.; Validation, M.W.A.-R.; Formal analysis, D.H. and F.K.; Investigation, M.R. and A.S.A.-M.A.-G.; Resources, T.A. and D.H.; Writing—original draft, M.R.; Writing—review & editing; D.H. and T.A.; Visualization, M.W.A.-R. and D.H.; Supervision, A.S.A.-M.A.-G.; Project administration, M.R.; Funding acquisition, D.H. All authors have read and agreed to the published version of the manuscript.

Funding

The Deanship of Scientific Research (DSR) at King Abdulaziz University (KAU), Jeddah, Saudi Arabia has funded this project under grant no. (PH: 029-145-1443).

Institutional Review Board Statement

This article does not contain any studies with human participants performed by any of the authors.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing is not applicable to this article as no datasets were generated during the current study.

Acknowledgments

The Deanship of Scientific Research (DSR) at King Abdulaziz University (KAU), Jeddah, Saudi Arabia has funded this project under grant no. (PH: 029-145-1443). Therefore, the authors thank DSR for technical and financial support.

Conflicts of Interest

The authors declare that they have no conflict of interest.

References

  1. Pines, J.M.; Griffey, R.T. What we have learned from a decade of ED crowding research. Acad. Emerg. Med. 2015, 22, 985–987. [Google Scholar] [CrossRef] [Green Version]
  2. Morley, C.; Unwin, M.; Peterson, G.; Stankovich, J.; Kinsman, L. Emergency department crowding: A systematic review of causes, consequence and solutions. PLoS ONE 2018, 13, e0203316. [Google Scholar] [CrossRef] [PubMed]
  3. Morley, C.; Stankovich, J.; Peterson, G.; Kinsman, L. Planning for the future: Emergency department presentation patterns in Tasmania, Australia. Int. Emerg. Nurs. 2018, 38, 34–40. [Google Scholar] [CrossRef] [PubMed]
  4. Dinh, M.M.; Bein, K.J.; Latt, M.; Chalkley, D.; Muscatello, D. Age before acuity: The drivers of demand for emergency department services in the Greater Sydney Area. Emerg. Med. J. 2018, 32, 708–711. [Google Scholar] [CrossRef]
  5. Yao, L.; Leung, K.; Tsai, C.; Huang, C.; Fu, L. A Novel Deep Learning–Based System for Triage in the Emergency Department Using Electronic Medical Records: Retrospective Cohort Study. J. Med. Internet Res. 2021, 23, e27008. [Google Scholar] [CrossRef]
  6. Sun, B.C.; Hsia, R.Y.; Weiss, R.E.; Zingmond, D.; Liang, L.J.; Han, W.; McCreath, H.; Asch, S.M. Effect of emergency department crowding on outcomes of admitted patients. Ann. Emerg. Med. 2012, 61, 605–611.e6. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Tang, K.J.W.; Ang, C.K.E.; Constantinides, T.; Rajinikanth, V.; Acharya, U.R.; Cheong, K.H. Artificial intelligence and machine learning in emergency medicine. Biocybern. Biomed. Eng. 2021, 41, 156–172. [Google Scholar] [CrossRef]
  8. Choi, S.; Ko, T.; Hong, K.; Kim, K.H. Machine learning-based prediction of Korean triage and acuity scale level in emergency department patients. Healthcare Inform. Res. 2019, 25, 305–312. [Google Scholar] [CrossRef]
  9. Klang, E.; Kummer, B.R.; Dangayach, N.S.; Zhong, A.; Kia, M.A.; Timsina, P.; Cossentino, I.; Costa, A.B.; Levin, M.A.; Oermann, E.K. Predicting adult neuroscience intensive care unit admission from emergency department triage using a retrospective, tabular-free text machine learning approach. Sci. Rep. 2021, 11, 1381. [Google Scholar] [CrossRef]
  10. Li, W.; Chai, Y.; Khan, F.; Jan, S.R.U.; Verma, S.; Menon, V.G.; Xingwang, L. A comprehensive survey on machine learning-based big data analytics for IoT-enabled smart healthcare system. Mob. Netw. Appl. 2021, 26, 234–252. [Google Scholar] [CrossRef]
  11. Puttinaovarat, S.; Pruitikanee, S.; Kongcharoen, J.; Horkaew, P. Machine Learning Based Emergency Patient Classification System. Int. J. Online Biomed. Eng. 2021, 17, 133–146. [Google Scholar] [CrossRef]
  12. Liu, W.; Wang, Z.; Zeng, N.; Alsaadi, F.; Liu, X. A PSO-based deep learning approach to classifying patients from emergency departments. Int. J. Mach. Learn. Cybern. 2021, 12, 1939–1948. [Google Scholar] [CrossRef]
  13. Krämer, J.; Schreyögg, J.; Busse, R. Classification of hospital admissions into emergency and elective care: A machine learning approach. Health Care Manag. Sci. 2019, 22, 85–105. [Google Scholar] [CrossRef] [PubMed]
  14. Harrou, F.; Dairi, A.; Kadri, F.; Sun, Y. Forecasting emergency department overcrowding: A deep learning framework. Chaos Solitons Fractals 2020, 139, 110247. [Google Scholar] [CrossRef]
  15. Kamruzzaman, M.M.; Alanazi, S.; Alruwaili, M.; Alrashdi, I.; Alhwaiti, Y.; Alshammari, N. Fuzzy-assisted machine learning framework for the fog-computing system in remote healthcare monitoring. Measurement 2022, 195, 111085. [Google Scholar] [CrossRef]
  16. Raza, A.; Tran, K.P.; Koehl, L.; Li, S. Designing ecg monitoring healthcare system with federated transfer learning and explainable ai. Knowl. Based Syst. 2022, 236, 107763. [Google Scholar] [CrossRef]
  17. Chen, T.M.; Tsai, Y.H.; Tseng, H.H.; Liu, K.C.; Chen, J.Y.; Huang, C.H.; Li, G.Y.; Shen, C.Y.; Tsao, Y. SRECG: ECG Signal Super-resolution Framework for Portable/Wearable Devices in Cardiac Arrhythmias Classification. IEEE Trans. Consum. Electron. 2023. [Google Scholar] [CrossRef]
  18. Newaz, A.I.; Sikder, A.K.; Rahman, M.A.; Uluagac, A.S. Healthguard: A machine learning-based security framework for smart healthcare systems. In Proceedings of the 2019 Sixth International Conference on Social Networks Analysis, Management and Security (SNAMS), Granada, Spain, 22–25 October 2019; pp. 389–396. [Google Scholar]
  19. Qiu, H.; Qiu, M.; Lu, Z. Selective encryption on ECG data in body sensor network based on supervised machine learning. Inf. Fusion 2020, 55, 59–67. [Google Scholar] [CrossRef]
  20. Mohamed Shakeel, P.; Baskar, S.; Sarma Dhulipala, V.R.; Mishra, S.; Jaber, M.M. Maintaining security and privacy in health care system using learning based deep-Q-networks. J. Med. Syst. 2018, 42, 186. [Google Scholar] [CrossRef]
  21. Ragab, M.; Ashary, E.; Sabir, M.; Bahaddad, A.; Mansour, R. Mathematical Modelling of Quantum Kernel Method for Biomedical Data Analysis. Comput. Mater. Contin. 2022, 71, 5441–5457. [Google Scholar] [CrossRef]
  22. Ragab, M.; Al-Rabia, M.; Binyamin, S.; Aldarmahi, A. Intelligent Firefly Algorithm Deep Transfer Learning Based COVID-19 Monitoring System. Comput. Mater. Contin. 2023, 74, 2889–2903. [Google Scholar] [CrossRef]
  23. Mansour, R.; Parah, S. Reversible data hiding for electronic patient information security for telemedicine applications. Arab. J. Sci. Eng. 2021, 46, 9129–9144. [Google Scholar] [CrossRef]
  24. Ragab, M.; Albukhari, A.; Alyami, J.; Mansour, R. Ensemble deep-learning-enabled clinical decision support system for breast cancer diagnosis and classification on ultrasound images. Biology 2022, 11, 439. [Google Scholar] [CrossRef]
  25. Mazraeh, N.; Daneshvar, A.; Roodposhti, F. Stock Portfolio Optimization Using a Combined Approach of Multi Objective Grey Wolf Optimizer and Machine Learning Preselection Methods. Comput. Intell. Neurosci. 2022, 2022, 5974842. [Google Scholar] [CrossRef]
  26. Zaidi, S.F.A.; Woo, H.; Lee, C.G. A graph convolution network-based bug triage system to learn heterogeneous graph representation of bug reports. IEEE Access 2022, 10, 20677–20689. [Google Scholar] [CrossRef]
  27. Mirjalili, S.; Mirjalili, S.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Green Version]
  28. Negi, G.; Kumar, A.; Pant, S.; Ram, M. Optimization of complex system reliability using hybrid grey wolf optimizer. Decis. Mak. Appl. Manag. Eng. 2021, 4, 241–256. [Google Scholar] [CrossRef]
  29. Amin, M.; Chiam, Y.; Varathan, K. Identification of significant features and data mining techniques in predicting heart disease. Telemat. Inform. 2019, 36, 82–93. [Google Scholar] [CrossRef]
Figure 1. Emergency Department Process.
Figure 1. Emergency Department Process.
Ijerph 20 04794 g001
Figure 2. Working procedure of the MLMDMC-ED system.
Figure 2. Working procedure of the MLMDMC-ED system.
Ijerph 20 04794 g002
Figure 3. Flowchart of NSGA II Algorithm.
Figure 3. Flowchart of NSGA II Algorithm.
Ijerph 20 04794 g003
Figure 4. Confusion matrices of MLMDMC-ED method on Cleveland dataset (a,b) TR and TS database of 80:20 and (c,d) TR and TS database of 70:30.
Figure 4. Confusion matrices of MLMDMC-ED method on Cleveland dataset (a,b) TR and TS database of 80:20 and (c,d) TR and TS database of 70:30.
Ijerph 20 04794 g004
Figure 5. Average analysis results of the MLMDMC-ED algorithm on the Cleveland dataset.
Figure 5. Average analysis results of the MLMDMC-ED algorithm on the Cleveland dataset.
Ijerph 20 04794 g005
Figure 6. T R a c c and V L a c c analyse the results of the MLMDMC-ED algorithm on the Cleveland dataset.
Figure 6. T R a c c and V L a c c analyse the results of the MLMDMC-ED algorithm on the Cleveland dataset.
Ijerph 20 04794 g006
Figure 7. T R l o s s and V L l o s s analysis results of the MLMDMC-ED algorithm on the Cleveland dataset.
Figure 7. T R l o s s and V L l o s s analysis results of the MLMDMC-ED algorithm on the Cleveland dataset.
Ijerph 20 04794 g007
Figure 8. Confusion matrices of MLMDMC-ED method under Statlog dataset (a,b) TR and TS database of 80:20 and (c,d) TR and TS database of 70:30.
Figure 8. Confusion matrices of MLMDMC-ED method under Statlog dataset (a,b) TR and TS database of 80:20 and (c,d) TR and TS database of 70:30.
Ijerph 20 04794 g008
Figure 9. Average analysis results of the MLMDMC-ED algorithm upon Statlog dataset.
Figure 9. Average analysis results of the MLMDMC-ED algorithm upon Statlog dataset.
Ijerph 20 04794 g009
Figure 10. T R a c c and V L a c c analyse the results of the MLMDMC-ED algorithm on the Statlog dataset.
Figure 10. T R a c c and V L a c c analyse the results of the MLMDMC-ED algorithm on the Statlog dataset.
Ijerph 20 04794 g010
Figure 11. T R l o s s and V L l o s s analyses results of the MLMDMC-ED algorithm on the Statlog dataset.
Figure 11. T R l o s s and V L l o s s analyses results of the MLMDMC-ED algorithm on the Statlog dataset.
Ijerph 20 04794 g011
Figure 12. Accuracy analysis outcomes of the proposed MLMDMC-ED algorithm and other recent algorithms.
Figure 12. Accuracy analysis outcomes of the proposed MLMDMC-ED algorithm and other recent algorithms.
Ijerph 20 04794 g012
Table 1. Dataset details.
Table 1. Dataset details.
ClassNo. of Instances
Cleveland DatasetStatlog Dataset
Absence160150
Presence137120
Total No. of Instances297270
Table 2. Analytical results of the MLMDMC-ED algorithm under distinct measures on the Cleveland dataset.
Table 2. Analytical results of the MLMDMC-ED algorithm under distinct measures on the Cleveland dataset.
Cleveland Dataset
ClassAccuracybalPrecisionRecallF-ScoreMCC
Training Phase (80%)
Absence100.0081.29100.0089.6877.49
Presence73.87100.0073.8784.9777.49
Average86.9490.6586.9487.3377.49
Testing Phase (20%)
Absence97.0686.8497.0691.6780.03
Presence80.7795.4580.7787.5080.03
Average88.9191.1588.9189.5880.03
Training Phase (70%)
Absence95.4588.2495.4591.7081.78
Presence85.5794.3285.5789.7381.78
Average90.5191.2890.5190.7281.78
Testing Phase (30%)
Absence100.0084.75100.0091.7481.04
Presence77.50100.0077.5087.3281.04
Average88.7592.3788.7589.5381.04
Table 3. Analytical results of the MLMDMC-ED algorithm under distinct measures on the Statlog dataset.
Table 3. Analytical results of the MLMDMC-ED algorithm under distinct measures on the Statlog dataset.
Statlog Dataset
ClassAccuracybalPrecisionRecallF-ScoreMCC
Training Phase (80%)
Absence89.9282.3189.9285.9467.27
Presence76.2986.0576.2980.8767.27
Average83.1084.1883.1083.4167.27
Testing Phase (20%)
Absence96.7790.9196.7793.7584.93
Presence86.9695.2486.9690.9184.93
Average91.8793.0791.8792.3384.93
Training Phase (70%)
Absence85.8596.8185.8591.0081.62
Presence96.3984.2196.3989.8981.62
Average91.1290.5191.1290.4481.62
Testing Phase (30%)
Absence81.82100.0081.8290.0082.02
Presence100.0082.22100.0090.2482.02
Average90.9191.1190.9190.1282.02
Table 4. Accuracy analysis outcomes of the MLMDMC-ED algorithm and other recent algorithms [29].
Table 4. Accuracy analysis outcomes of the MLMDMC-ED algorithm and other recent algorithms [29].
MethodsAccuracy (%)
MLMDMC-ED91.87
VNB-LR Model87.71
Fuzzy-NN Model80.36
DT Model81.04
ELM Model86.87
SVM Model86.42
NB Model69.31
CART Model83.23
GA-NN Model80.90
DT-GR Model84.49
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ragab, M.; Kateb, F.; Al-Rabia, M.W.; Hamed, D.; Althaqafi, T.; AL-Ghamdi, A.S.A.-M. A Machine Learning Approach for Monitoring and Classifying Healthcare Data—A Case of Emergency Department of KSA Hospitals. Int. J. Environ. Res. Public Health 2023, 20, 4794. https://doi.org/10.3390/ijerph20064794

AMA Style

Ragab M, Kateb F, Al-Rabia MW, Hamed D, Althaqafi T, AL-Ghamdi ASA-M. A Machine Learning Approach for Monitoring and Classifying Healthcare Data—A Case of Emergency Department of KSA Hospitals. International Journal of Environmental Research and Public Health. 2023; 20(6):4794. https://doi.org/10.3390/ijerph20064794

Chicago/Turabian Style

Ragab, Mahmoud, Faris Kateb, Mohammed W. Al-Rabia, Diaa Hamed, Turki Althaqafi, and Abdullah S. AL-Malaise AL-Ghamdi. 2023. "A Machine Learning Approach for Monitoring and Classifying Healthcare Data—A Case of Emergency Department of KSA Hospitals" International Journal of Environmental Research and Public Health 20, no. 6: 4794. https://doi.org/10.3390/ijerph20064794

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop