Next Article in Journal
Edge-Computing Meshed Wireless Acoustic Sensor Network for Indoor Sound Monitoring
Next Article in Special Issue
Comparison of Two Paradigms Based on Stimulation with Images in a Spelling Brain–Computer Interface
Previous Article in Journal
Image Recovery from Synthetic Noise Artifacts in CT Scans Using Modified U-Net
Previous Article in Special Issue
Affective Recommender System for Pet Social Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Machine Learning Methods in Predicting Patients with Suspected Myocardial Infarction Based on Short-Time HRV Data

1
Mathematical Modelling and Artificial Intelligence Department, National Aerospace University Kharkiv Aviation Institute, 61072 Kharkiv, Ukraine
2
Molecular Biotechnology and Functional Genomics Department, Technical University of Applied Sciences Wildau, 15745 Wildau, Germany
3
ccc. Center for Connected Health Care UG, 16818 Wustrau, Germany
4
Systems Engineering Department, Kharkiv National University of Radio Electronics, 61166 Kharkiv, Ukraine
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(18), 7033; https://doi.org/10.3390/s22187033
Submission received: 24 August 2022 / Revised: 15 September 2022 / Accepted: 15 September 2022 / Published: 17 September 2022
(This article belongs to the Special Issue AI for Smart Home Automation)

Abstract

:
Diagnosis of cardiovascular diseases is an urgent task because they are the main cause of death for 32% of the world’s population. Particularly relevant are automated diagnostics using machine learning methods in the digitalization of healthcare and introduction of personalized medicine in healthcare institutions, including at the individual level when designing smart houses. Therefore, this study aims to analyze short 10-s electrocardiogram measurements taken from 12 leads. In addition, the task is to classify patients with suspected myocardial infarction using machine learning methods. We have developed four models based on the k-nearest neighbor classifier, radial basis function, decision tree, and random forest to do this. An analysis of time parameters showed that the most significant parameters for diagnosing myocardial infraction are SDNN, BPM, and IBI. An experimental investigation was conducted on the data of the open PTB-XL dataset for patients with suspected myocardial infarction. The results showed that, according to the parameters of the short ECG, it is possible to classify patients with a suspected myocardial infraction as sick and healthy with high accuracy. The optimized Random Forest model showed the best performance with an accuracy of 99.63%, and a root mean absolute error is less than 0.004. The proposed novel approach can be used for patients who do not have other indicators of heart attacks.

1. Introduction

Every year, information technology is becoming increasingly established in all areas of activity. Rapidly gaining momentum in recent decades and progress against the background of the widespread introduction of computer information technologies have also embraced medicine. The global COVID-19 pandemic has dramatically accelerated the pace of digitalization, causing entire industries to be transformed [1]. Today, information systems in medicine are used more and more widely: from making a diagnosis to forecasting the resources necessary for the continuous operation of medical institutions.
In healthcare, there are two groups of innovations—evolutionary [2] and revolutionary [3]. Evolutionary information technologies (IT) solutions help improve the quality of existing services: automate examinations, book patients online, and conduct screenings. Revolutionary ones are associated with new models of medical services, such as telemedicine or the use of artificial intelligence in diagnostics. A big driver of digital transformations in medicine is also a large accumulation of data: case histories, clinical analyses, etc. [4].
In addition, the impetus in healthcare informatization is the development of the artificial intelligence industry. Tools, powered by artificial intelligence (AI), uncover meaningful relationships in raw data. They can be applied to all areas of medicine, including drug discovery, medical diagnosis, treatment decision-making, patient care, and financial transactions and decisions. Artificial intelligence can make it easier to identify patterns by helping researchers create dynamic patient cohorts for research and clinical trials [5]. Modern machine learning tools that use artificial neural networks to learn highly complex relationships or deep learning technologies often outperform human capabilities in performing medical tasks. AI-enabled systems are capable of solving complex problems that are common in modern clinical care.
An analysis of modern research shows a growing prospect of using data-driven medical solutions for smart homes, which will turn the living environment into an innovative clinical environment for the prevention and early diagnosis of common diseases [6]. The introduction of personalized medicine solutions into the living environment will significantly reduce the risks of diseases associated with aging, including cardiovascular diseases [7].
Cardiovascular disease (CVD) is the leading cause of death worldwide: no other disease causes as many deaths yearly as CVD [8]. An estimated proportion of CVD among all global death is 32% [9]. Over 75% of CVD deaths occur in low- and middle-income countries [10]. This is mainly because people in low- and middle-income countries with CVD have less access to effective health care.
The primary behavioral risk factors for cardiovascular disease and stroke are unhealthy diet, lack of physical activity, tobacco use, and diabetes [11]. Such risk factors can manifest as high blood pressure, high blood glucose, high blood lipids, and being overweight and obese. Most cardiovascular diseases can be effectively managed not only by preventive measures but also by early diagnosis [12].
The global COVID-19 pandemic has become another challenge for health systems around the world in combating CVD, as they are one of the main complications of this infection after respiratory manifestations [13]. People with cardiovascular diseases are believed to be more susceptible to infection because the new coronavirus uses the Angiotensin-converting enzyme 2 (ACE2) receptor to enter the cell. People with cardiovascular complications during COVID-19 seem to have high levels of ACE2 expression, and SARS-CoV-2 uses it to dock onto the body’s cells to infect them [14].
The disastrous final route of coronary heart disease (CHD) in the world is myocardial infarction (MI) [15]. MI is damage to the heart muscle caused by an acute disruption of its blood supply due to blockage (thrombosis) of one of the heart’s arteries with atherosclerotic plaque [16]. In this case, the affected cardiac muscle cells die by necrosis, and in the further course the necrotic district changes into a fibrous scar. Cell death begins within 20–40 min from the moment of cessation of blood flow in the coronary artery. The high prevalence and narrow time window demand new methods for diagnosing early-stage MI to prevent patient lethality. Therefore, developing models and methods for the early diagnosis of MI is an urgent task. This shall reduce the mortality rate from MI and open up access for countries and people who do not have special equipment and enough medical personnel to prevent MI. The models proposed in this study are based on statistical machine learning methods and do not require high computational power and special equipment. The use of the proposed models is possible on personal computers.
In order for a patient to be diagnosed with myocardial infarction, they must fulfill at least two of the following three criteria, according to the World Health Organization:
  • Clinical history of chest discomfort consistent with ischemia, such as crushing chest pain;
  • An elevation of cardiac markers in the blood (Troponin-I, CK-MB, Myoglobin);
  • Characteristic changes on electrocardiographic tracings taken serially.
The significant electrocardiography (ECG) changes indicative of myocardial infarction are the elevation (in STEMI) or depression (NSTEMI) of the ST segment, as well as the inversion of the T wave (in NSTEMI) [17]. However, this requires the patient to visit the emergency department of a hospital or a doctor’s office, which necessarily means some delay in diagnosis and treatment. A very easy and “at home” applicable ECG-based heart attack diagnosis would be desirable.
Given this, there is a crucial need to study new signs that have diagnostic value for the diagnosis of myocardial infarction. In this paper, we will study the impact of heart rate variability (HRV) time domain metrics, which are obtained from short 10-second samples of ECG. One more aim of the current research is to develop an effective machine learning model for MI diagnostics.
To achieve this aim, the following requirements need to be met:
  • Current research on MI classification should be analyzed;
  • Data should be analyzed;
  • A machine learning models should be developed;
  • Data should be prepared for the experimental study with developed machine learning models;
  • Experimental evaluation of the developed models with open data on MI should be provided;
  • Comparative analysis of obtained results with other methods and models should be provided.
The respective contribution of this study is two-fold—Firstly, the development of machine learning models based on a k-nearest neighbor classifier, radial basis function, decision tree, and random forest will allow for estimating accuracy of simple machine learning techniques for cardiovascular diseases classification; Secondly, the study of the diagnostic value of data, HRV, obtained from the original ECG signal, as an alternative to such characteristic changes in the ECG curve as ST-segment elevation or depression, T-wave inversion, confirming the diagnosis of MI. Moreover, research on HRV metrics is particularly interesting as they are derived from short 10-second ECG records.
The rest of this publication is structured as follows: Section 2 provides the current state of cardiovascular disease machine learning classification models and methods. Section 3, namely Materials and Methods, describes machine learning models based on k-nearest neighbors classifier, radial basis function, decision tree, and random forest methods. Section 4 provides analysis of the publicly available dataset PTB-XL and results of data preprocessing and preparation. Section 5 provides the results of experiments with developed models and the results of model optimization. Section 6 presents the conclusions and future work.
Given research is part of a complex intelligent information system for epidemiological diagnostics, developed within the project 2020.02/0404 “Development of intelligent technologies for assessing the epidemic situation to support decision-making within the population biosafety management” funded by National Research Foundation of Ukraine, the concept of which is discussed in [18].

2. Current State of Research

The most effective method for automated diagnosis of myocardial infarction is the analysis of electrocardiogram data. ECG is a method for analyzing the work of the heart based on the registration of electromagnetic field variations that occur in the heart muscle during the cardiac cycle [1]. The signal that reflects the nature of these variations is called an electro-cardio signal (ECS). Analysis of the ECS is a process of studying the ECG signal, aimed at detecting pathological abnormalities in its individual sections and determining the causes of these abnormalities.
The main problems that arise during the analysis of the ECG can be classified by reason of their occurrence into [19]:
  • stochastic nature of the biological system under study;
  • imperfection of the technical means of signal pickup.
    There are three main stages in the task of automated ECG analysis [20,21]:
  • pre-processing stage, in which the signal is separated from interference;
  • conversion stage, at which informative features of the signal are extracted;
  • the stage of solving the problem, which generates the output signal according to the identified informative features.
The task of ECG classification is to identify informative signs and find their dependence on the corresponding heart disease or its absence. To date, the methods based on neural networks show the highest accuracy among the methods of automated CVD diagnostics. However, their disadvantage is the high computational complexity and the need for computing resources [22]. This is not feasible in the context of health care facilities in low- and middle-income countries, which account for most deaths. Therefore, machine learning methods not based on artificial neural networks are preferred in this study.
Authors of Ref. [23] have built classification models of MI using 192 lead body surface potential maps analysis. The most important features were used as input to a series of supervised classification models using Naive Bayes, Support Vector Machine, and Random Forest methods. The accuracy of the constructed models was 81.9% for Naive Bayes, 82.8% for Support Vector Machine, and 84.5% for Random Forest. However, using 192 leads for the detection is not practical for the detection of MI.
Polat et al. [24] have modified the k-nearest neighbors method and used it as a preprocessing approach before the classification. Artificial immune recognition system with a fuzzy resource allocation mechanism as a classifier, showed an accuracy of 87.0% for MI diagnosing. In Ref. [25], the decision tree and bagging based on decision tree models are proposed. The authors have used the database of 920 samples. The accuracy is 78.91% for decision tree and 81.41% for bagging. Ref. [26] proposes the modification of the decision tree method by nine voting equal frequency discretization gain ratio. Based on the data from 297 samples, authors obtained an accuracy of 84.1%.
Ref. [27] discussed two machine learning approaches to ECG classification. Models based on support vector machine and radial basis function network have shown accuracy 85.05% and 82.71%, respectively, using 5-fold cross-validation, and 85.05% and 82.24% using 10-fold cross-validation.
In Ref. [28], the ensemble method for heart diseases classification is proposed, which integrates k-means clustering with naïve Bayes. The best accuracy obtained for two clusters random row initial centroid selection is 84.5%. Chitra and Seenivasagam [29], to validate the developed cascaded neural network of CVD classification, have built the model based on a support vector machine and obtained an accuracy of 77.5% with it. Authors of [30] have proposed three machine learning models of heart disease detection. The accuracy obtained with gain ratio decision tree is 79.1%, the accuracy of Naïve Bayes method is 83.5%, and the accuracy of k-nearest neighbor method with K = 19 is 83.2%.
Authors of [31] used data from 143 cases, 79 of which were MI-related. The machine learning model based on k-nearest neighbors method showed an accuracy of 87.0% with K = 4. Authors of [32] have used the weighted vote-based ensemble technique to combine the results of Naive Bayes, decision tree based on information gain, decision tree based on Gini index, instance-based learner, and support vector machine algorithms. The accuracy of obtained ensemble model is 87.37%. Authors of [33] modified the proposed in the Ref. [26] method using nine voting equal frequency discretization with Gini index decision tree applied to the same dataset and obtained an accuracy of 85.3%.
In Ref. [34], ECG data taken for six seconds and ECG data taken the entire length of the data in two minutes are investigated. The developed model of modified K-nearest neighbors showed an accuracy of 71.2% with K = 3.
The comparative analysis of investigated researches is presented in Table 1.
Ref. [35] analyzes recent research on classifying HRV data using machine learning models. However, most of them are focused on stress classification. In addition, this paper discusses the features of various durations of HRV records and metrics in the time and frequency domains in the context of diagnosing cardiovascular diseases. Thus, studying the effect of HRV indicators obtained on the basis of short 10-second ECG recordings on the accuracy of myocardial infarction classification based on machine learning models is of particular research interest.
The study of [36] investigated 10-second heart rate variability. The authors concluded that using the 10-second estimate would be of extreme benefit in assessing HRV as opposed to a need to record a 24-h ECG. However, no further investigations of its features have been provided.
Analysis of the current state of research on ECG processing and diagnosing MI using machine learning models also shows that data preprocessing is a crucial step to achieving a high degree of accuracy in the training model. Heterogeneous data also play a vital role in the accuracy of classifiers. Reviewed studies say that machine learning classifiers with preprocessed data show more accurate results than those without preprocessed data.

3. Materials and Methods

Within research, four models based on machine learning methods for the classification of patients with MI were developed. Machine learning models are based on k-nearest neighbors classifier, radial basis function, decision tree, and random forest.

3.1. K-Nearest Neighbor Classifier

The principle behind k-nearest neighbor method is to find a predetermined number of training samples closest in the distance to a new point and provide a value for the data [37]. Despite its simplicity, the k-nearest neighbor method has succeeded in many classification and regression problems, including the medical domain. Being a non-parametric method, it is often successful in classification situations where the decision limit is unclear.
Euclidean distance is a commonly used distance metric for continuous variables [38]. For discrete variables, such as text classification, you can use another metric, such as the overlap metric (or Hamming distance) [39]. In addition, k-nearest neighbors classifier is used with correlation coefficients such as Pearson and Spearman [40]. Often, classification accuracy can be greatly improved if the distance metric is learned using specialized algorithms, such as high-margin, nearest-neighbor, or neighborhood component analysis.
The disadvantage of the primary majority vote classification is that the class distribution is skewed. More frequent class examples tend to dominate the prediction of a new example since they tend to be spread among nearest neighbors due to their large number.
One way to overcome this problem is to weight the classification given the distance from the control point to each of its nearest neighbors. The class (or value in regression problems) of each of the k closest points is multiplied by a weight proportional to the reciprocal distance from that point to the control point. Another way to overcome skew is to abstract the data representation.
To classify the objects of the test sample, you must sequentially perform the following steps:
  • To calculate the distance to each of the objects in the training sample;
  • To select the object of the training sample, the distance to which is minimal;
  • The class of the classified object is the class that occurs among k nearest neighbors most often.
Euclidean distance in multidimensional feature space is calculated as follows:
d a b = i = 1 n ( x a i x b i ) 2 ,
where a and b are points in n-dimensional space;
i is ordinal number of the feature;
xai and xbi are coordinates of points a and b by the feature i.
The class with the most votes is assigned to the new element:
y a ( a , X , k ) = a r g m a x y Y i = 1 k ( y a i = y ) ,
where a is a new element (connection),
X is a training sample,
y is a class,
Y is a set of classes,
yai is the class of i-th neighbor a,
k is the number of neighbors.

3.2. Radial Basis Function

In machine learning, a radial basis function is used in various kernel learning algorithms [41]. In particular, it is commonly used to classify support vector machines. The radial basis function kernel on two samples x and x′, represented as feature vectors in some input space, is defined as:
K ( x , x ) = e x p ( x x 2 2 σ 2 ) ,
where x x 2 can be defined as the square of the Euclidean distance between two feature vectors,
σ is free parameter.
The equivalent definition includes the parameter γ = 1 2 σ 2 :
K ( x , x ) = e x p ( γ x x 2 ) .  
Since the value of the RBF kernel decreases with distance and ranges from zero (at the boundary) to one (when x = x′), it has a ready interpretation as a measure of similarity [42]. The feature space of the kernel has an infinite number of dimensions; for σ = 1, it grows:
e x p ( 1 2 x x 2 ) = e x p ( 2 2 x T x 1 2 x 2 1 2 x 2 ) = e x p ( x T x ) e x p ( 1 2 x 2 ) e x p ( 1 2 x 2 ) = j = 0 ( x T x ) j ! e x p ( 1 2 x 2 ) e x p ( 1 2 x 2 ) = j = 0 n i = j ( x T x ) j ! e x p ( 1 2 x 2 ) e x p ( 1 2 x 2 ) .

3.3. Decision Tree

Decision Trees is a non-parametric supervised learning technique used for classification and regression [43]. The goal is to create a model that predicts the value of the target variable by learning simple decision rules derived from the characteristics of the data. The tree can be considered as a piecewise constant approximation.
Decision trees are trained on the data to approximate a sinusoid using a set of if-then-else decision rules. The deeper the tree, the more complex the decision rules and the better the model. The benefits of decision trees include:
  • Easy to understand and interpret;
  • Trees can be visualized;
  • Requires little data preparation;
  • Tree usage weights are the logarithmic number of data points used to train the tree.
    The disadvantages of decision trees include:
  • Trained decision models can create highly complex trees that do not generalize well. To avoid this problem, mechanisms such as pruning, setting a minimum number of samples required in a leaf node, or setting a maximum tree depth is needed.
  • Decision trees can be unstable because minor variations in the data can result in a completely different tree. The use of ensemble decision trees mitigates this problem.
The problem of learning an optimal decision tree is NP-complete in several aspects of optimum, even for simple concepts. Therefore, practical decision tree learning algorithms are based on heuristic algorithms such as the greedy algorithm, where locally optimal decisions are made at each node. Such algorithms cannot guarantee the return of a globally optimal decision tree. This can be mitigated by training multiple trees in an ensemble where features and samples are randomly sampled with replacement.

3.4. Random Forest

Random forest is a type of supervised machine learning algorithm based on ensemble learning [44]. Ensemble learning is a type of learning where you combine different types of algorithms or the same algorithm multiple times to form a more powerful prediction model. The random forest algorithm combines several algorithms of the same type, that is, several decision trees, resulting in a forest of trees, hence the name Random Forest. The random forest algorithm can be used for both regression and classification problems.
These two sources of randomness aim to reduce the variance of the forest estimate. Individual decision trees typically exhibit high variance and tend to overflow. The introduced randomness in forests yields decision trees with slightly isolated prediction errors. By taking the average of these predictions, some errors can be avoided. Random forests achieve reduced variance by combining diverse trees, sometimes at the cost of a slight increase in bias. In practice, the reduction in variance is often significant, giving an overall better model.
Benefits of using Random Forest include:
  • The random forest algorithm is not biased because there are multiple trees, and each tree learns from a subset of the data. Basically, the random forest algorithm relies on the power of the “crowd”; therefore, the overall bias of the algorithm is reduced.
  • The algorithm is stable. Even if a new data point is introduced into the data set, the overall algorithm is not significantly affected because the new data may affect one tree. However, it is challenging to affect all trees.
  • The random forest algorithm works well if the sample contains both categorical and numerical features. The random forest algorithm also performs well when data are missing or have not been well scaled.
The main disadvantage of random forest is its complexity. The model takes out much more computational resources due to a large number of merged decision trees. Due to their complexity, they take much longer to train other similar algorithms.

4. Data Analysis and Preprocessing

For the experimental study, we used the open database PTB-XL [45], which was collected within the project PhysioNet [46]. PTB-XL is the to-date largest freely accessible clinical 12-lead ECG-waveform dataset comprising 21,837 records from 18,885 patients of 10 seconds length [47]. Two cardiologists annotate the ECG data as a multi-label dataset, where the diagnostic labels have been further grouped into superclasses and subclasses. The data set spans many diagnostic classes, including healthy individuals. The data also contain demographic metadata, additional diagnostic statements, and probabilities of diagnosis, which are manually annotated.

4.1. Input Data Description

The initial dataset consists of 15,014 records, 9528 normal, and 5486 myocardial infarction (MI) data, including ECG signals and metadata. The random patient examination ECG data is shown in Figure 1. One can single out a clear cyclically repeating pattern with some modifications, and a baseline drift, which must be eliminated using signal preprocessing techniques. The patient dataset also contains the corresponding metadata.
The metadata can be divided into the following categories:
  • Identifiers: Each entry is identified by a unique ecg_id. The eligible patient is encoded via the patient ID; paths to the original recording (500 Hz) and the downsampled version of the recording (100 Hz);
  • General metadata: demographic and registration metadata such as age, gender, height, weight, nurse, site, device, and date of enrollment;
  • ECG operations: The main components are scp_codes (SCP-ECG operations as a dictionary with entries of the form statement: probability, where probability is set to 0 if unknown) and report (report string). Additional fields are heart_axis, infarction_stadium1, infarction_stadium2, validated_by, second_opinion, initial_autogenerated_report, and validated_by_human;
  • Signal metadata: signal quality such as noise (static_noise and burst_noise), baseline offset (baseline_drift), and other parameters such as electrodes_problems;
  • Figure 2 shows records of two random patients: normal and with MI.
Figure 3 shows the basic data about the patient and information about the examination, biological data, and diagnosis.

4.2. ECG Data Analysis

Based on studies [48] regarding the diagnostic value of HRV indicators for the detection of cardiovascular diseases and, in particular, myocardial infarction, ECG signals were processed as follows: First, Heart Rate Variability (HRV) data were obtained from the original ECG signal, and then the time-domain metrics were calculated. HRV is the fluctuation in the time intervals between adjacent heartbeats that correspond to R peaks on the ECG signal. The time-domain metrics include inter-beat interval (IBI), heartbeats per minute (BPM), the standard deviation of the R peak to R peak intervals (SDNN), with the assumption that the data only come from the Normal to Normal sinus rhythm and the root mean square of successive differences (RMSSD). RMSSD is determined by first calculating each successive R peak to R peak. Afterward, each of these values is squared, and the results are averaged before finding the square root of the total. Equations (6) and (7) describe the SDNN and RMSSD calculations, respectively:
SDNN = 1 N 1 i = 1 N ( X i μ ) 2
RMSSD = 1 N i = 1 N 1 ( X i X i + 1 ) 2
The extracted features for analysis are presented in Figure 4.

4.3. Data Preprocessing

Both ECG signal data and metadata comprise noises, missing values, and other inconsistencies and require preprocessing. For these purposes, noise reduction techniques were applied to ECG signals. It allowed us to enhance ECG peaks, convolving synthetic QRS templates with the signal, and applying a notch filter, resulting in a strong signal-to-noise ratio.
The resulting disease classes were divided into negative and positive diagnosis values of 0 and 1, respectively. The MI class was classified as positive and assigned a value of 1, and the NORM class was classified as negative and assigned a value of 0.
The descriptive statistics shown in Figure 5 include statistics summarizing the major trend, variance, and distribution shape of the data set, excluding NaN values. The average age of patients is quite high with 52 years, and the 50% percentile is 54 years. It can be seen that half of the resulting sample are men and the other half are women. The majority of the 76% sample was re-validated by another physician. In addition, 10 ECG machines and 11 nurses participated in the process, which could affect the result.
When data values for a variable in observation are not stored, they are missing data or missing values. Missing data are common and can have a significant impact on the conclusions that can be drawn from the data. Figure 6 shows a list of missing values in the analyzed dataset.
Most cases of missing values are noted in the excess mortality columns, which will not be used for predictions or testing but only for analysis. They can be easily dropped. Other values seem to be missing because there were no specific observations or studies on certain days.
The following methods can be applied to fill in the missing values:
  • Linear interpolation;
  • Linear interpolation of neighboring values.
In our case, since all records are not related to each other, interpolation options are not suitable since, in this case, there is no task to preserve the original behavior.
Missing values can be filled in with:
  • Parameters Outlier or Zero;
  • Mean value;
  • Median;
  • Constant.
Filling missing values with a constant or zero is not sufficient and not a good option. Filling in missing values with the last value may give better results when using the mean or median. The median method was chosen because it has an advantage over the mean values in a situation where some values are anomalous and strongly bias the mean.
In order to calculate the correlation of the Pearson product with a moment, one first needs to determine the covariance of the two variables in question. Next, you need to calculate the standard deviation of each variable. The correlation coefficient is determined by dividing the covariance by the product of the standard deviations of the two variables. Based on the analysis of medical data, the following conclusions can be drawn:
  • Age has an average negative correlation with diagnosis;
  • Gender has a medium negative correlation with weight and a low positive correlation with diagnosis.
Both significantly influence the diagnosis parameters infraction stadium and heart axis.
Medical parameters have an average positive correlation with the diagnosis. The heart axis indicates the heart’s position relative to the body and its inclination [49]. Abnormal values may indicate related diseases. In turn, infraction stadium is a disease in which the patient has a brain tumor–glioma [50].

5. Results

After preliminary analysis and data preparation, we obtained 13,480 records, and separate our data into training and validation data. We want to provide the model with as much training data as possible. However, we also want to ensure we have enough data to test the model. As the number of rows in the dataset increases, we can provide more data to the training set. Another critical parameter is data mixing.
In this study, the set was distributed in the ratio of 80% to 20% for training and validation data. A set of regression classifiers and machine learning models was defined for testing with this data set. Tests of statistical significance were carried out to check the validity of the result [51]. To do this, we evaluated the model 10 times and obtained the average values of accuracy and RMSE.
The results of the developed machine learning models are shown in Table 2.
It can be concluded that, with a high probability, the Random Forest classifier gives the best results. The results shown are competitive with those presented in Table 1. To improve accuracy, it is necessary to select parameters to optimize the results obtained for classification by the Random Forest model.
The Random Forest classifier is trained using load aggregation, where each new tree is selected from a sample of load observations. Out of bag is the average error for each computed using tree predictions not contained in the corresponding load sample. This allows the built Random Forest model to fit and validate during training.
The main parameters to be adjusted when using these methods are n_estimators and max_features. The first is the number of trees in the forest. The more, the better, but also the more time it will take to calculate. In addition, the results will no longer improve significantly over a critical number of trees. The latter is the size of random feature subsets that should be considered when splitting a node. The more minor, the more significant the reduction in dispersion, but also the more significant the increase in bias. The empirically “correct” defaults are: max_features = None (always consider all features instead of a random subset) for regression problems and max_features = “sqrt” (using a random subset of size sqrt(n_features)) for classification problems (where n_features is the number of features in the data). Good results are often achieved by setting max_depth = None in combination with min_samples_split = 2 (i.e., when trees are fully developed). However, these values are usually not optimal and can result in models that consume a lot of RAM.
The best parameter values should be cross-validated. Cross-validation technology is the most common using the most common K-Fold CV method. Typically, the data are divided into training and validation. However, for the K-Fold technique, the training data are split into K different samples, which are called Fold. By iteratively selecting samples, the model accuracy result is evaluated. After that, the average performance is found, which is the validation metric.
In the case of RandomForest, the following can be controlled as parameters:
  • The number of trees in the forest (n_estimators);
  • The maximum depth of the tree (max_depth). If not, then the nodes are expanded until all leaves are clean or until all leaves contain less than min_samples_split samples;
  • The minimum number of samples (min_samples) that must be in a leaf node. A split point at any depth will only be considered if it leaves at least min_samples_leaf training samples in each of the left and right branches. This can have the effect of smoothing the model.
In addition, having selected the optimal hyperparameters, we can determine the maximum number of max_features features used to find the best test data split ratio:
For “Sqrt” parameter:
m a x f e a t u r e s = n f e a t u r e s .  
For “Log2” parameter:
m a x f e a t u r e s = l o g n f e a t u r e s .  
For “None” parameter:
m a x f e a t u r e s = n f e a t u r e s .  
The results are presented in Figure 7.
Analyzing Figure 6, we can conclude that the best strategy for choosing max_features is “None” (all features are always considered instead of a random subset). However, this configuration requires more system resources. In addition, the critical number of trees (n_estimators) is around 300.
Figure 8 shows the matrix of correspondences between the provided and actual values of the constructed model.
The accuracy and absolute error of the data are checked against the validation data. The building and training of the model were carried out several times, and the accuracy was maintained at 99.629 %, which is 2% better than the first model tuning. Even when mixing data at the stages of data preparation, they do not affect the result in any way. The resulting stability can be explained by the properties of the tree structure of the algorithm.
The accuracy of the optimized model is 99.629%, and root mean absolute error is 0.0037.

6. Conclusions

In existing studies in patients with myocardial infarction, the HRV time domain indicators are mainly isolated from long-term measurements from 5 min to 24 h. On short measurements, 10 s, the time parameters were not studied properly. However, this is an essential task because the protocol for examining patients with suspected MI says the patient should undergo an ECG for 10 s with 12 leads. In addition, this leads to the conclusion that HRV parameters have potential clinical value in cases where analysis of ECG data did not reveal changes in signal morphology. The evidence for correlations between changes in HRV parameters and ST-segment changes in the classic 12-lead ECG is still limited. Although the number of cases is still small and the results are based on ECG databases (and not on real-world clinical data), there are encouraging results on this and we are working on it ourselves.
An analysis of time parameters showed that the most significant parameters for diagnosing MI are sdnn, bpm, and ibi.
As part of this study, an experimental study was conducted on the data of the open PTB-XL dataset for patients with suspected MI. The results showed that, according to the parameters of the 10-second ECG, it is possible to classify patients with suspected MI as sick and healthy. Four machine learning methods were analyzed: k-nearest neighbors classifier, radial basis function, decision tree, and random forest. All methods showed high accuracy. However, the optimized Random Forest method showed an accuracy of 99.629%.
Unfortunately, we all know cases in which one or more pieces of the mosaic for the diagnosis of myocardial infarction ultimately proved to be false positives or negatives, and this is one reason for the need to be able to look at all the “big” pieces of the mosaic as far as possible: a typical clinical picture, typical ECG changes, and a troponin increase. For troponin, there are point-of-care tests, i.e., rapid tests made near the patient (they are not perfectly specific compared to the “normal” laboratory tests, but they allow very often a more in-depth assessment of the case). For ECG diagnostics, we believe that a possibility should be created to obtain the necessary information early and, if possible, already “at home” and by the patient himself or his relatives. Furthermore, for this, in our opinion, a classic 12-lead ECG is not suitable, but perhaps a wearable patch that allows HRV analysis. The analysis should be supported by AI. In addition, even if this information from HRV is also not 100% sensitive and specific, it seems plausible to combine it with a rapid troponin test. The affected patient who has acute chest pain could perform both at home, and an AI algorithm could derive a recommendation for action from the information now available (typical symptomatology yes/no, HRV suspicious of myocardial infarction yes/no, troponin elevated yes/no): Alert and transport to emergency department or visit primary care physician’s office at the earliest possible date.
The proposed approach can be used for patients who do not have other indicators of heart attacks.
In the future, it is planned to conduct studies on each individual leading to determine the minimum number of leads required to obtain reliable results for the diagnosis of MI. This will allow the proposed methodology to be applied outside medical institutions and integrated into the smart home system. The proposed automated solution based on machine learning models is a practical addition to traditional diagnostic approaches and saves resources while supporting decision-making by doctors. This is especially important in the context of the global COVID-19 pandemic when healthcare resources are limited and patients do not always have access to their family doctors regularly.

Author Contributions

Conceptualization, D.C., K.J.G.S., and A.N.; methodology, D.C., M.F., and A.N.; software, M.B. and D.L.; validation, D.C., K.J.G.S., and A.N.; formal analysis, M.F.; investigation, D.C., M.F., K.J.G.S., and A.N.; resources, M.B. and D.L.; data curation, M.B. and D.L.; writing—original draft preparation, D.C., M.B., D.L., K.J.G.S., and A.N.; writing—review and editing, M.F.; visualization, M.B.; supervision, D.C. and A.N.; project administration, M.F.; funding acquisition, D.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The initial data used in this research are publicly available by the link https://physionet.org/content/ptb-xl/1.0.2/ (accessed on 21 August 2022).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Nagel, L. The influence of the COVID-19 pandemic on the digital transformation of work. Int. J. Sociol. Soc. Policy 2020, 40, 861–875. [Google Scholar] [CrossRef]
  2. Sherer, S.A.; Meyerhoefer, C.D.; Shienberg, M.; Levick, D. Integrating commercial ambulatory electronic health records with hospital systems: An evolutionary process. Int. J. Med. Inform. 2015, 84, 683–693. [Google Scholar] [CrossRef] [PubMed]
  3. Bonner, L. Prepare now for the digital health revolution. Pharm. Today 2021, 27, 24–29. [Google Scholar] [CrossRef]
  4. Hoffman, J.; Mahmood, S.; Fogou, P.S.; George, N.; Raha, S.; Safi, S.; Schmailzl, K.J.; Brandalero, M.; Hubner, M. A Survey on Machine Learning Approaches to ECG Processing. In Proceedings of the 2020 Signal Processing: Algorithms, Architectures, Arrangements, and Applications (SPA), Poznan, Poland, 23–25 September 2020; pp. 36–41. [Google Scholar] [CrossRef]
  5. Davenport, T.; Kalakota, R. The potential for artificial intelligence in healthcare. Futur. Healthc. J. 2019, 6, 94–98. [Google Scholar] [CrossRef] [PubMed]
  6. Hu, R.; Linner, T.; Trummer, J.; Güttler, J.; Kabouteh, A.; Langosch, K.; Bock, T. Developing a Smart Home Solution Based on Personalized Intelligent Interior Units to Promote Activity and Customized Healthcare for Aging Society. J. Popul. Ageing 2020, 13, 257–280. [Google Scholar] [CrossRef]
  7. Moses, J.C.; Adibi, S.; Angelova, M.; Islam, S.M.S. Smart Home Technology Solutions for Cardiovascular Diseases: A Systematic Review. Appl. Syst. Innov. 2022, 5, 51. [Google Scholar] [CrossRef]
  8. Protulipac, J.M.; Sonicki, Z.; Reiner, Z. Cardiovascular disease (CVD) risk factors in older adults—Perception and reality. Arch. Gerontol. Geriatr. 2015, 61, 88–92. [Google Scholar] [CrossRef]
  9. Smith, J.; Velez, M.P.; Dayan, N. Infertility, Infertility Treatment, and Cardiovascular Disease: An Overview. Can. J. Cardiol. 2021, 37, 1959–1968. [Google Scholar] [CrossRef]
  10. Ogungbe, O.; Byiringiro, S.; Adeola-Afolayan, A.; Seal, S.M.; Himmelfarb, C.R.D.; Davidson, P.M.; Commodore-Mensah, Y. Medication Adherence Interventions for Cardiovascular Disease in Low- and Middle-Income Countries: A Systematic Review. Patient Prefer. Adherence 2021, 15, 885–897. [Google Scholar] [CrossRef]
  11. Zhang, Y.-B.; Chen, C.; Pan, X.-F.; Guo, J.; Li, Y.; Franco, O.H.; Liu, G.; Pan, A. Associations of healthy lifestyle and socioeconomic status with mortality and incident cardiovascular disease: Two prospective cohort studies. BMJ (Clin. Res. Ed.) 2021, 373, n604. [Google Scholar] [CrossRef]
  12. Capotosto, L.; Massoni, F.; De Sio, S.; Ricci, S.; Vitarelli, A. Early Diagnosis of Cardiovascular Diseases in Workers: Role of Standard and Advanced Echocardiography. BioMed Res. Int. 2018, 2018, 7354691. [Google Scholar] [CrossRef] [PubMed]
  13. Pal, A.; Ahirwar, A.K.; Sakarde, A.; Asia, P.; Gopal, N.; Alam, S.; Kaim, K.; Ahirwar, P.; Sorte, S.R. COVID-19 and cardiovascular disease: A review of current knowledge. Horm. Mol. Biol. Clin. Investig. 2021, 42, 99–104. [Google Scholar] [CrossRef] [PubMed]
  14. Talasaz, A.H.; Kakavand, H.; Van Tassell, B.; Aghakouchakzadeh, M.; Sadeghipour, P.; Dunn, S.; Geraiely, B. Cardiovascular Complications of COVID-19: Pharmacotherapy Perspective. Cardiovasc. Drugs Ther. 2021, 35, 249–259. [Google Scholar] [CrossRef] [PubMed]
  15. Jayaraj, J.C.; Davatyan, K.; Subramanian, S.S.; Priya, J. Epidemiology of Myocardial Infraction. In Myocardial Infraction; IntechOpen: London, UK, 2018. [Google Scholar] [CrossRef]
  16. Lu, L.; Liu, M.; Sun, R.R.; Zheng, Y.; Zhang, P. Myocardial Infarction: Symptoms and Treatments. Cell Biophys. 2015, 72, 865–867. [Google Scholar] [CrossRef]
  17. Chartrain, A.G.; Kellner, C.P.; Mocco, J. Pre-hospital detection of acute ischemic stroke secondary to emergent large vessel occlusion: Lessons learned from electrocardiogram and acute myocardial infraction. J. NeuroInterv. Surg. 2018, 10, 549–553. [Google Scholar] [CrossRef]
  18. Yakovlev, S.; Bazilevych, K.; Chumachenko, D.; Chumachenko, T.; Hulianytskyi, L.; Meniailov, I.; Tkachenko, A. The concept of developing a decision support system for the epidemic morbidity control. In Proceedings of the CEUR Workshop Proceedings 2020, the 3rd International Conference on Informatics & Data-Driven Medicine, Växjö, Sweden, 19–21 November 2020; Volume 2753, pp. 265–274. [Google Scholar]
  19. Park, J.; An, J.; Kim, J.; Jung, S.; Gil, Y.; Jang, Y.; Lee, K.; Oh, I.-Y. Study on the use of standard 12-lead ECG data for rhythm-type ECG classification problems. Comput. Methods Programs Biomed. 2021, 214, 106521. [Google Scholar] [CrossRef]
  20. Raeiatibanadkooki, M.; Quachani, S.R.; Khalilzade, M.; Bahaadinbeigy, K. Real Time Processing and Transferring ECG Signal by a Mobile Phone. Acta Inform. Medica 2014, 22, 389–392. [Google Scholar] [CrossRef]
  21. Iqbal, M.N.; Bamhara, M.; Al Khambashi, M.; Alhassan, H.; Abd-Alhameed, R.; Eya, N.; Qahwaji, R.; Noras, J. Real-time signal processing of data from an ECG. In Proceedings of the Internet Technologies and Applications (ITA) 2017, Wrexham, UK, 12–15 September 2017; pp. 334–338. [Google Scholar] [CrossRef]
  22. Quer, G.; Arnaout, R.; Henne, M.; Arnaout, R. Machine Learning and the Future of Cardiovascular Care: JACC State-of-the-Art Review. J. Am. Coll. Cardiol. 2021, 77, 300–313. [Google Scholar] [CrossRef]
  23. Zheng, H.; Wzng, H.; Nugent, C.D.; Finlay, D.D. Supervised classification models to detect the presence of old myocardial infraction in body surface potential maps. In Proceedings of the Computers in Cardiology 2006, Valencia, Spain, 17–20 September 2006; pp. 265–268. [Google Scholar]
  24. Polat, K.; Şahan, S.; Güneş, S. Automatic detection of heart disease using an artificial immune recognition system (AIRS) with fuzzy resource allocation mechanism and k-nn (nearest neighbour) based weighting preprocessing. Expert Syst. Appl. 2007, 32, 625–631. [Google Scholar] [CrossRef]
  25. Tu, M.C.; Shin, D.; Shin, D. Effective Diagnosis of Heart Disease through Bagging Approach. In Proceedings of the 2009 2nd International Conference on Biomedical Engineering and Informatics, Tianjin, China, 17–19 October 2009; pp. 1–4. [Google Scholar] [CrossRef]
  26. Shounam, M.; Turner, T.; Stocker, R. Using decision tree for diagnosing heart disease patients. In Proceedings of the 9th Australian Data Mining Conference 2011, Victoria, Australia, 1–2 December 2011; pp. 23–29. [Google Scholar]
  27. Ghumbre, S.; Patil, C.; Ghatol, A. Heart disease diagnosis using support vector machine. In Proceedings of the International Conference on Computer Science and Information Technology 2011, Penang, Malaysia, 22–24 February 2011; pp. 84–88. [Google Scholar]
  28. Shouman, M.; Turner, T.; Stocker, R. Integrating Naïve Bayes and K-means clustering with different initial centroid selection methods in the diagnosis of heart disease patients. In Proceedings of the Computer Science and Information Technologies 2012, Bangalore, India, 2–4 January 2012; pp. 125–137. [Google Scholar] [CrossRef]
  29. Chitra, R.; Seenivasagam, V. Heart disease prediction system using supervised learning classifier. Int. J. Softw. Eng. Soft Comput. 2013, 3, 1–7. [Google Scholar]
  30. Shouman, M.; Turner, T.; Stocker, R. Integrating clustering with different data mining techniques in the diagnosis of heart disease. J. Comput. Sci. Eng. 2013, 20, 1–10. [Google Scholar]
  31. Yuwono, T.; Setiawan, N.A.; Nugroho, H.A.; Persada, A.G.; Prasojo, I.; Dewi, S.K.; Rahmadi, R. Decision Support System for Heart Disease Diagnosing Using K-NN Algorithm. In Proceedings of the International Conference on Electrical Engineering, Computer Science and Informatics 2015, Palembang, Indonesia, 19–21 August 2015; Volume 2, pp. 160–164. [Google Scholar] [CrossRef]
  32. Bashir, S.; Qamar, U.; Khan, F.H. A Multicriteria Weighted Vote-Based Classifier Ensemble for Heart Disease Prediction. Comput. Intell. 2015, 32, 615–645. [Google Scholar] [CrossRef]
  33. Kirmani, M.M.; Ansarullah, S.I. Prediction of heart disease using decision tree a data mining technique. Int. J. Comput. Sci. Netw. 2016, 5, 855–892. [Google Scholar]
  34. Yuwono, T.; Franz, A.; Muhimmah, I. Design of Smart Electrocardiography (ECG) Using Modified K-Nearest Neighbor (MKNN). In Proceedings of the IEEE 2018 1st International Conference on Computer Applications & Information Security, Riyadh, Saudi Arabia, 4–6 April 2018; pp. 1–5. [Google Scholar] [CrossRef]
  35. Ishaque, S.; Khan, N.; Krishnan, S. Trends in Heart-Rate Variability Signal Analysis. Front. Digit. Health 2021, 3, 639444. [Google Scholar] [CrossRef] [PubMed]
  36. Hodgart, E.; Macfarlane, P.W. 10 second heart rate variability. In Proceedings of the Computers in Cardiology 2004, Chicago, IL, USA, 19–22 September 2004; pp. 217–220. [Google Scholar] [CrossRef]
  37. Khamis, H.S.; Cheruiyot, K.W.; Kimani, S. Application of k-nearest neighbor classification in medical data mining. Int. J. Inf. Commun. Technol. Res. 2014, 4, 121–128. [Google Scholar]
  38. Hu, L.-Y.; Huang, M.-W.; Ke, S.-W.; Tsai, C.-F. The distance function effect on k-nearest neighbor classification for medical datasets. SpringerPlus 2016, 5, 1304. [Google Scholar] [CrossRef] [Green Version]
  39. Sahu, S.K.; Mishra, B.; Thakur, R.S.; Sahu, N. Normalized hamming k-nearest neighbor (NHK-nn) classifier for document classifi-cation and numerical result analysis. Glob. J. Pure Appl. Math. 2017, 13, 4837–4850. [Google Scholar]
  40. Rovetta, A. Raiders of the Lost Correlation: A Guide on Using Pearson and Spearman Coefficients to Detect Hidden Correlations in Medical Sciences. Cureus 2020, 12, e11794. [Google Scholar] [CrossRef]
  41. Alexandridis, A.; Chondrodima, E. A medical diagnostic tool based on radial basis function classifiers and evolutionary simulated annealing. J. Biomed. Inform. 2014, 49, 61–72. [Google Scholar] [CrossRef]
  42. Shashua, A. Introduction to machine learning: Class notes 67577. arXiv 2009, arXiv:0904.3664. [Google Scholar]
  43. Dudkina, T.; Meniailov, I.; Bazilevych, K.; Krivtsov, S.; Tkachenko, A. Classification and prediction of diabetes disease using decision tree method. In Proceedings of the CEUR Workshop Proceedings 2021, Symposium on Information Technologies & Applied Sciences (IT&AS 2021), Bratislava, Slovakia, 5 March 2021; Volume 2824, pp. 163–172. [Google Scholar]
  44. Sokoliuk, A.; Kondratenko, G.; Sidenko, I.; Kondratenko, Y.; Khomchenko, Y.; Atamanyuk, I. Machine Learning Algorithms for Binary Classification of Liver Disease. In Proceedings of the 2020 IEEE International Conference on Problems of Infocommunications. Science and Technology (PIC S&T), Kharkiv, Ukraine, 6–9 October 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 417–421. [Google Scholar] [CrossRef]
  45. Wagner, P.; Strodthoff, N.; Bousseljot, R.; Samek, W.; Schaeffter, T. PTB-XL, version 1.0.1. PTB-XL, A Large Publicly Available Electrocardiography Dataset. PhysioNet: Bristol, UK, 2020. [CrossRef]
  46. Goldberger, A.; Amaral, L.; Glass, L.; Hausdorff, J.; Ivanov, P.C.; Mark, R.; Mietus, J.E.; Moody, G.B.; Peng, C.K.; Stanley, H.E. PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation 2020, 101, e215–e220. [Google Scholar] [CrossRef] [PubMed]
  47. Wagner, P.; Strodthoff, N.; Bousseljot, R.-D.; Kreiseler, D.; Lunze, F.I.; Samek, W.; Schaeffter, T. PTB-XL, a large publicly available electrocardiography dataset. Sci. Data 2020, 7, 154. [Google Scholar] [CrossRef] [PubMed]
  48. Smith, S.J.M. EEG in the diagnosis, classification, and management of patients with epilepsy. J. Neurol. Neurosurg. Psychiatry 2005, 76 (Suppl. 2), ii2–ii7. [Google Scholar] [CrossRef] [PubMed]
  49. Malinova, V.; von Eckardstein, K.; Mielke, D.; Rohde, V. Diagnostic yield of fluorescence-assisted frame-based stereotactic biopsies of intracerebral lesions in comparison with frozen-section analysis. J. Neuro-Oncology 2020, 149, 315–323. [Google Scholar] [CrossRef] [PubMed]
  50. Goodenberger, M.K.L.; Jenkins, R.B. Genetics of adult glioma. Cancer Genet. 2012, 205, 613–621. [Google Scholar] [CrossRef] [PubMed]
  51. Zehra, T.; Anjum, S.; Mahmood, T.; Shams, M.; Sultan, B.A.; Ahmad, Z.; Alsubaie, N.; Ahmed, S. A Novel Deep Learning-Based Mitosis Recognition Approach and Dataset for Uterine Leiomyosarcoma Histopathology. Cancers 2022, 14, 3785. [Google Scholar] [CrossRef]
Figure 1. Example of ECG data.
Figure 1. Example of ECG data.
Sensors 22 07033 g001
Figure 2. Example of ECG data (Norm and MI).
Figure 2. Example of ECG data (Norm and MI).
Sensors 22 07033 g002
Figure 3. Primary dataset review.
Figure 3. Primary dataset review.
Sensors 22 07033 g003
Figure 4. Results of ECG signal processing.
Figure 4. Results of ECG signal processing.
Sensors 22 07033 g004
Figure 5. Data sample descriptive statistics.
Figure 5. Data sample descriptive statistics.
Sensors 22 07033 g005
Figure 6. Missed data in the obtained data sample.
Figure 6. Missed data in the obtained data sample.
Sensors 22 07033 g006
Figure 7. Results of Random Forest model with different parameters.
Figure 7. Results of Random Forest model with different parameters.
Sensors 22 07033 g007
Figure 8. Correspondence matrix of the provided and actual values of the constructed model.
Figure 8. Correspondence matrix of the provided and actual values of the constructed model.
Sensors 22 07033 g008
Table 1. Comparison of accuracy of current researches.
Table 1. Comparison of accuracy of current researches.
Author, SourceApproachAccuracy
Yuwono T., et al. [34]Modified K-nearestneighbors with K = 371.2%
Chitra R., Seenivasagam V. [32]Support vector machine77.5%
Tu M.C., et al. [25]Decision tree78.91%
Shouman M., et al. [30]Gain ratio decision tree79.1%
Tu M.C., et al. [25]Bagging based on decision tree81.41%
Zheng H., et al. [23]Naïve Bayes81.9%
Ghumbre S., et al. [27]Radial basis function network using 10-fold cross-validation82.24%
Ghumbre S., et al. [27]Radial basis function network using 5-fold cross-validation82.71%
Zheng H., et al. [23]Support vector machine82.8%
Shouman M., et al. [30]K-nearest neighbors with K = 1983.2%
Shouman M., et al. [30]Naïve Bayes83.5%
Shouman M., et al. [26]Equal frequency discretization gain ratio decision tree84.1%
Zheng H., et al. [23]Random forest84.5%
Shouman M., et al. [28]Ensemble: k-means with Naïve Bayes84.5%
Ghumbre S., et al. [27]Support vector machine85.05%
Kirmani M.M., et al. [33]Nine voting equal frequency discretization with Gini index decision tree85.3%
Polat K., et al. [24]Artificial immune recognition system87.0%
Yuwono T., et al. [31]K-nearest neighbor87.0%
Bashir S., et al. [32]Ensemble: Naive Bayes, decision tree based on information gain, decision tree based on Gini index, instance-based learner, support vector machine87.37%
Table 2. Results of simulation.
Table 2. Results of simulation.
Machine Learning ModelAccuracyRoot Mean Square Error
K-nearest neighbors classifier71.105%0.289
Radial basis function75.408%0.245
Decision tree89.867%0.109
Random forest97.774%0.022
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chumachenko, D.; Butkevych, M.; Lode, D.; Frohme, M.; Schmailzl, K.J.G.; Nechyporenko, A. Machine Learning Methods in Predicting Patients with Suspected Myocardial Infarction Based on Short-Time HRV Data. Sensors 2022, 22, 7033. https://doi.org/10.3390/s22187033

AMA Style

Chumachenko D, Butkevych M, Lode D, Frohme M, Schmailzl KJG, Nechyporenko A. Machine Learning Methods in Predicting Patients with Suspected Myocardial Infarction Based on Short-Time HRV Data. Sensors. 2022; 22(18):7033. https://doi.org/10.3390/s22187033

Chicago/Turabian Style

Chumachenko, Dmytro, Mykola Butkevych, Daniel Lode, Marcus Frohme, Kurt J. G. Schmailzl, and Alina Nechyporenko. 2022. "Machine Learning Methods in Predicting Patients with Suspected Myocardial Infarction Based on Short-Time HRV Data" Sensors 22, no. 18: 7033. https://doi.org/10.3390/s22187033

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