1. Introduction
Lifestyle and genetic factors are driving up the cost of healthcare today. Data accumulation occurs naturally over time. This means that the results of any health surveys are being squandered. However, with the advent of data analytics, this is no longer the case. Healthcare facilities and non-governmental organizations (NGOs) are using data to their advantage by deriving actionable insights. Cardiovascular disease is now the leading cause of death in developed countries. The manner this illness manifests in its victims makes speedy treatment difficult. Thus, making accurate diagnoses at the appropriate times is the most challenging aspect of medical practice[1]–[3].
The hospital's terrible reputation stems from its miscommunication and incorrect diagnoses. The Indian government has cast doubt on the widespread belief that the cost of this disease's cure is out of reach. The normal ranges for blood pressure, cholesterol, and heart rate vary from person to person. Medical studies show that a blood pressure of 120 over 80, cholesterol of 200, and pulse rate of 72 are all considered healthy[4]–[6].
The World Health Organisation estimates that cardiovascular disease is responsible for more than 12 million deaths annually. It's a terrible sickness that causes even worse disasters in India. The technique used to investigate the unhealthy situation is intricate[7], [8].
Accurate and exact measurements are required. Due to a dearth of specialists in certain areas, patients are being put in jeopardy. Cardiologists (the doctors who often treat patients with heart problems) are the ones who typically make the diagnosis. Integrating these methods into the healthcare information infrastructure has enormous potential benefits[9]–[12]. In order to determine which machine learning approach is most suited for integrating the survey data collected in June, it is necessary to compare many approaches. In this research, we propose a number of machine learning methods for estimating the probabilities of developing cardiovascular illnesses given a set of available variables. The employed medical datasets are drawn from studies that have piqued international interest[13]–[15].
Machine learning (ML), a subfield of artificial intelligence (AI), is finding growing use in cardiology. It's the basis for how computers may analyze information and make judgments or categorizations, with or without human intervention. Conceptually, ML is built around models that take in data (such as photos or text) and use a mix of mathematical optimization and statistical investigation to make predictions. Numerous ML techniques have found use in practical settings. A popular ML technique called SVM, for instance, can identify non-linear patterns for applications like face recognition, handwriting comprehension, and credit card fraud detection. The detection and handling of spam emails have been used by known boosting techniques used for forecasting and categorization. Random forest (RF) is another technique that may help in making judgments by taking the mean of a number of nodes[16], [17].
2. Machine Learning Methods
This section presented the three ML model such as SVM, RF, and DT. Figure 1 shows the steps of the proposed model.
2.1 Support Vector Machine (SVM)
The support vector (SV) was introduced by Hearst et al., who used statistical learning theory to categorize it as a nonlinear search technique. The SVM, a subclass of SV developed later to lower machine learning's anticipated error and prevent excessive over-fitting, was presented. SVM, a supervised learning machine that employs the statistical learning theory and the structural risk reduction rule, is widely used in disease modeling. SVM's training approach constructs models that allocate novel non-probabilistic binary linear classifiers that, by use of inverse reasoning, minimize the empirical classification mistake and maximize the geometrical margin. SVM is employed to make a future prediction of a quantity by training on historical data. Support vector regression (SVR) is an extension of the SVM that was developed as a regression tool during the last two decades[18], [19].
2.2 Decision Tree (DT)
The ML technique of DT is a useful tool in predictive modelling, especially for simulating disease. DT relies on a decision tree with branches that lead to leaf nodes that contain the desired values. Leaves in a classification tree (CT) indicate the names of classes, whereas branch nodes reflect conjunctions of characteristic labels. The final factors in a decision tree (DT) are discrete sets of values. A regression tree (RT) is a DT where the variable of interest takes on values that are continuous and when many trees are used in an ensemble. There are several similarities and distinctions between regression and classification trees. DTs are often used in ensemble forms to simulate and forecast disease since they are considered quick algorithms[20], [21]. Although the popular DT in ML, the classification and regression tree (CART), has been effectively used to disease modelling, further research is needed to determine whether or not it can be utilised for disease prediction. Another well-liked DT approach for predicting disease is the random forests (RF) technique. Multiple tree predictors are available inside RF. Each branch generates a distinct collection of independent values and response values for the predictor. In addition, the optimal set of classes is determined by a collection of these trees[22], [23].
3. Results and Discussion
This section presented the application and results of the ML applied. In this study, there are three models to apply to the dataset. We collected the dataset from Kaggle. There are 12 variables and 7000 rows in the obtained dataset. Table 1 shows the sample of the dataset. The table 1 shows the 12 variables including age, gender, height, weight, and so on. Then apply some descriptive statistics on the dataset as shown in Table 2.
Then apply the three ML models. Figure 2 shows the count of the cardio according to the year. The target class has two classes. The first class no disease (0), and other class has a disease (1)
After Appling the ML models, we achieved the precision, recall, and f1 score as shown in Table 3. The RF and DT have the largest value followed by SVM.
4. Conclusion
Overall, the findings from ML models were encouraging, but there are still a number of obstacles to be cleared before they can be used in clinical use. Successful applications of SVM and boosting techniques are widespread in cardiovascular medicine. However, good clinical context translation requires the selection of acceptable methods for suitable study topics, compared with human experts, testing cohorts, and a summary of all available assessment matrices. Most critically, further research is required to directly compare ML algorithms to more traditional risk models. This study proposed three machine learning models to predict the cardio disease. The ML models are SVM, RF, and DT. The RF and DT have largest accuracy followed by the SVM.