- Open Access
Prediction of successful aging using ensemble machine learning algorithms
BMC Medical Informatics and Decision Making volume 22, Article number: 258 (2022)
Aging is a chief risk factor for most chronic illnesses and infirmities. The growth in the aged population increases medical costs, thus imposing a heavy financial burden on families and communities. Successful aging (SA) is a positive and qualitative view of aging. From a biomedical perspective, SA is defined as the absence of diseases or disability disorders. This is distinct from normal aging, which is associated with age-related deterioration in physical and cognitive functions. From a social perspective, SA highlights life satisfaction and individual well-being, usually attained through socialization. It is an abstract and multidimensional concept surrounded by imprecision about its definition and measurement. Our study attempted to find the most effective features of SA as defined by Rowe and Kahn's theory. The determined features were used as input parameters of six machine learning (ML) algorithms to create and validate predictive models for SA.
In this retrospective study, the raw data set was first pre-processed; then, based on the data of a sample of 983, five basic ML techniques including artificial neural network, decision tree, support vector machine, Naïve Bayes, and k-nearest neighbors (K-NN) with one ensemble method (that gathers 30 K-NN algorithms as weak learners) were trained. Finally, the prediction result was yielded using the majority vote method based on the output of the generated base models.
The experimental results revealed that the predictive system has been more successful in predicting SA with a 93% precision, 92.40% specificity, 87.80% sensitivity, 90.31% F-measure, 89.62% accuracy, and a ROC of 96.10%, using a five-fold cross-validation procedure.
Our results showed that ML techniques potentially have satisfactory performance in supporting the SA-related decisions of social and health policymakers. The KNN-based ensemble algorithm is superior to the other ML models in classifying people into SA and non-SA classes.
According to the World Health Organization (WHO), the aging population is growing and will reach nearly 1.6 billion by 2050 (almost 16% of the entire world population) . Any country where 7% of the population is over 60 years old is considered an aged country . At present, we are witnessing dramatic socio-demographic and lifestyle changes, and especially in developed countries, we are facing a transition from an aged to a super-aged population [3,4,5]. Iran is no exception to this transition; due to the changes in epidemiological aspects of diseases, it is estimated to face a sudden increase in the elderly population in the next two decades .
Due to recent advances in medical and social science, human life expectancy has generally been increasing in both developed and developing countries. Accordingly, all countries are grappling with the phenomenon of aging [7, 8]. The increase in life expectancy is in itself an important achievement of science. However, the growth of the elderly population raises the costs of social welfare and the necessary care for the elderly . In addition to changes in the demographic situation of society, the growth of the elderly population has altered the epidemiological trends of diseases and raised the rate of chronic diseases worldwide. Aging has increased the economic burden on families and governments. As such, besides health and medical aspects, the phenomenon of aging has led to global socio-economic concerns [11, 12].
The elderly's quality of life (QOL) and how they spend their lives in this period are critical. Although longevity is universally desired, the improvement of QOL indicators and reduction of the disease burden in old age are more important to both individuals and society than the number of years added to human life .
Successful aging (SA) is a concept dealing with population aging issues. SA is a multidimensional and interdisciplinary concept because the aging process differs for each person [14, 15]. Although there is no formal definition of SA, there is general agreement that people with SA should be free from chronic diseases and have good physical and mental functions [16, 17]. An operative theory regarding SA has been proposed by Rowe and Kahn  and has three dimensions: active engagement with life, absence of disease or disability, and appropriate physical and cognitive functioning . According to this theory, which is largely accepted by academic circles , SA is a qualitative description of aging that shows the elderly person's adaptation to the physical, spiritual, and social changes caused by the passage of time .
The emphasis of numerous studies on SA has changed from a single dimension (disease existence or functional deterioration) to the multidimensional idea of SA, which is consistent with the WHO's definition of health; according to this definition, health is considered as a state of complete physical, mental, social, and spiritual well-being . However, due to the inherent ambiguity in the meaning of this complex and multidimensional phenomenon, its definition has proven to be a difficult task .
A notable point about aging is that it is not exclusively influenced by genes, but non-genetic factors also significantly affect the aging process . Prior investigations have generally focused on factors affecting SA, but there are no longitudinal studies on SA [24, 25]. The factors affecting SA are codependent and multifaceted, and conventional statistical models are not appropriate for this concept . Over the past few decades, machine learning (ML) algorithms have played a key role in solving complex, multidimensional, and nonlinear problems . Hence, it is possible to create an intelligent model to predict the presence or absence of SA. Still, scholars are always seeking ways to augment these techniques. Ensemble learning is one of these methods that has been demonstrated to improve ML performance . Therefore, five basic and one hybrid ensemble ML models were developed and tested for SA prediction. Our study aimed to develop SA prediction models based on sociodemographic, clinical, and lifestyle factors, which can be used for early prediction of SA and to explore important predictors affecting its further progress.
Study design and setting
This research is a retrospective study that included 1115 adults in a database of Abadan University of Medical Sciences, Abadan, Iran, from January 2016 to August 2021.
Developed countries consider the age of 65 years as the onset of old age because a person qualifies for a pension. However, the United Nations and the WHO recognize 60 years and older as elderly [29, 30]. In this study, according to the WHO, people aged 60 years and older are considered elderly. Therefore, individuals younger than 60 years and incomplete case records with missing more than 70% of the data were excluded from the study.
To predict whether a person has SA or non-SA status, five basic classification algorithms, including artificial neural network (ANN), decision tree (DT), support vector machine (SVM), Naïve Bayes (NB), and k-nearest neighbors (K-NN) models were first trained. Then, to promote the prediction accuracy of the models, a hybrid model called ensemble-based KNN was developed. This model gathers some weak learners as base classifiers. Each of these classifiers is trained, and ultimately, the prediction result is obtained using the majority vote method based on the output of the generated base models [31, 32]. Figure 1 displays an overview of the proposed system.
There is a large number of variables collected for the elderly in the EMR database. Thus, we checked the definition of the features included in the data dictionary section of the database to fully understand the data definitions and the choice of proper variables. The criteria for identifying the candidate variables related to SA were based on consultations with gerontologist experts and reviewing the relevant literature. Predictor and outcome variables are described as follows:
This class includes seven variables of age, sex, literacy level, marital status, occupation, income level, and insurance situation.
This class includes hypertension, cardiovascular accident (CVA), bone disease, renal disease, liver disease, muscle disease, depression, convalescences, eye disease, diabetes, cancer, and other diseases.
The sociodemographic and clinical variables were extracted from aged adults’ electronic health records (EHR).
Behavioral and psychosocial factors
This class comprises the ability to perform activities of daily living (ADLs), life satisfaction, QOL, healthy lifestyle, social and interpersonal relationships, nutrition, physical activity, disease prevention activities, and tension (stress) management. These variables were defined as follows:
Ability to perform ADLs
This factor is measured by the Barthel Index, which has 10 questions to measure physical functioning. Barthel Index determines one's ability to perform basic ADLs, e.g., dressing, on a scale ranging from 0 to 100. Scores of 0–20 indicate severe dependence, 20–60 complete dependence, 61–90 moderate dependence, 91–99 partial dependence, and 100 complete independence . In our study, an independent person is someone who has a score of 100 based on the Barthel index.
This variable was measured by the Life Satisfaction Scale developed by Diner et al. (1985). This scale consisted of 5 items measuring the cognitive component of well-being. Each statement has seven options and is scored from 1 to 7 (strongly disagree to agree strongly). The validity of this instrument was confirmed by Bayani et al. (2007) . In this study, a person who is satisfied with life receives a score of > 20 on this scale.
To measure this variable, the 36-Item Short-Form Survey (SF-36) was administered. This self-report questionnaire consists of 36 items and eight domains: physical function, social function, physical role-playing, emotional role-playing, mental health, evaluations of vitality, physical pain, and general health. In addition to these sections, SF36 also provides two general measures of physical health (total physical component score (PCS)) and mental and social health (total mental component score (MCS)). The respondents' scores in each domain vary from 0 to 100, and a higher score means a better QOL. The validity and reliability of this questionnaire in the Iranian population have been confirmed [35,36,37]. Physical activity and social and interpersonal relationships are the SF-36 subcategories evaluated in the elderly. In addition, the overall score was calculated to measure the QOL of the elderly. In the present study, a score of 70 was considered as the cut-off point for this variable.
Lifestyle determination generally depends on the total score obtained and is calculated by obtaining a score of 42–98 indicating an unfavorable, 99–155 showing a medium, and 156–216 denoting a desirable lifestyle. It measures physical activity, exercise, recreation, healthy eating, stress management, and social and interpersonal relationships .
The Mini Nutritional Assessment questionnaire was administered to measure the healthy nutritional status of the elderly. In this questionnaire, a score of 12 or greater indicates that the person is well-nourished and needs no further intervention. A score of 8–11 shows that the person is at risk of malnutrition. A score of 7 or less demonstrates that the person is malnourished. The cut-off point of this variable in our study is 12.
The Stress-Management Questionnaire was used to describe the participant’s ability to cope with difficult and stressful situations. The total scores were divided into three levels of low (0–30), moderate (31–39), and high (40–50). The cut-off point of this variable in our study is 31.
The outcome variable was categorized into SA (coded 1) or non-SA (coded 0) classes. In this study, SA was determined based on Raw and Khan's model which has three principal components: “absence of disease and disease-related disability”, “maintenance of high mental and physical function, “and “continued engagement with life” . According to this model, the following inclusion criteria of SA were used: 1) absence of disease-related disability (the criteria met in this domain are being satisfied when adults have no disability and the number of chronic diseases ≤ 2), 2), maintenance of high mental and physical function (in this domain, the participants had a Mini-Mental State Examination for Dementia Screening (MMSE-DS) score of normal and a Bartle index of > 90), and 3) “continued engagement with life” (this domain was determined based on employment, participation in social activities, religious activities, volunteering activities, and lifelong learning. The participants had to have at least three out of these five criteria) [24, 40,41,42,43].
When the collected raw data were processed by ML models, they did not have acceptable performance and the classifiers’ prediction accuracy was low. Therefore, data preprocessing methods were adopted to obtain the best models for SA identification. The dataset used in this paper contained missing values. Deleting these data from the data set would reduce the quality of the data because the data might contain useful information that could affect the prediction. There are several ways to solve the problem of missing value. We filled missing values with the mean value of the respective feature in the data set. Another problem with the collected data was unbalanced data. Unbalanced data class distribution occurs when the number of samples related to one class is significantly less than the number of samples belonging to another class. This deteriorates the efficiency of ML algorithms . We used the synthetic minority oversampling technique (SMOTE) to deal with the problem of an unbalanced dataset [45, 46].
SMOTE selects a random sample from the minority class and determines k nearest neighbors for this sample. Then, a vector between the current sample and a chosen neighbor is determined. The synthetic instances are generated by multiplying this vector with a random number between 0 and 1. This action is similar to slightly moving a data point in the direction of its neighbor. Thus, the generated data point is not an exact copy of an existing data point and does not significantly differ from known observations in the minority class. We applied oversampling only to the training data; by so doing, none of the information in the validation data was being used to create synthetic observations. Therefore, these results should be generalizable. According to the tests performed, the validation results were consistent with the results of unseen test data. The data set contained 983 records before and 1430 records after data balancing.
We used the feature selection method to reduce the dataset dimension and augment the ML performance. Feature selection in a high-dimensional dataset is one of the most important data mining steps, eliminating redundancy and unrelated features. Feature selection involves the use of statistical methods to reduce the dataset dimension. Briefly, some advantages of this process include improving the mining performance, preventing overfitting the algorithms, increasing the computational capability, accelerating the data mining process, and enhancing understandability [47,48,49,50,51]. In this study, the chi-square test was used to determines the important factors affecting the SA. P < 0.05 was considered statistically significant. After the correlation analysis, a univariate regression analysis was conducted to improve the accuracy and significant variables. This is one of the basic prerequisites of ML techniques; in this regard, the variables were entered into the model that had high prognostic power.
Basic ML algorithms
We applied supervised learning techniques for SA prediction. Several basic algorithms such as KNN, SVM, DT, NB, and RF were used to classify whether people belong to the class of SA or non-SA.
An ANN is an ML algorithm inspired by the natural nervous system in processing information. The structure of the neural network consists of a large number of processing elements (neurons) that communicate with one another through weights. The neural network has a nonlinear mechanism that can process in parallel, learn, and make decisions. ANN modifies its weighted connections using a set of learning examples. The final effects of the learning process are the adjustment of the parameters of a network that can be retrained in new environmental conditions [52, 53].
Decision trees and decision rules are efficient ways to solve classification problems. These techniques are supervised learning methods that construct decision trees using a set of input and output samples. A typical decision tree learning system implements a top-down strategy to find a solution in a portion of the search space. The main elements of the decision tree include decision nodes where the data are partitioned and leaves that represent the output. In the tree learning process, the feature that causes the greatest change in entropy is first selected, and the data set is divided based on this feature. The same process is then repeated for each of the created subsets and continues until the resulting subsets are of minimal purity [54, 55].
This algorithm is a generalization of the Bayesian theorem in which the attributes are assumed to be independent of one another. NB is a probabilistic model, and the process it follows involves the calculation of the probability of a data sample belonging to a particular class [56, 57]. NB is sometimes called simple Bayes or independence Bayes. It is easy to create this algorithm, and it does not need to estimate complex initial parameters, i.e., it can be used for a large set of data and has high accuracy and speed when using large databases. However, the lack of access to data probabilities and conditional independence of classes are the problems of these algorithms [58, 59].
SVM is a supervised learning method used for classification and regression and is a linear classifier . The purpose of the SVM is to find the best classifier to distinguish between samples of two classes in the training data. For linearly separable datasets, a linear function for a hyper-plan passing through the middle of two layers separates the two. Since there are many such linear hyper-planes, SVM ensures that the best function is found by maximizing the margin between the two classes. Intuitively, a margin is the amount of space or the separator of two classes defined by hyper-planes [61, 62].
KNN is an unsupervised classification algorithm. The KNN classifier finds a K group of objects in the training set that is closest to the test data. The three main elements in this procedure include a set of labeled objects, a distance criterion for calculating the distance between objects, and a value that determines the number of nearest neighbors. To classify an unlabeled object, the distance of this object from the labeled objects is calculated; then, k nearest neighbors of the object are identified and their class labels are used to determine the class label of the unlabeled object [63, 64].
Ensemble learning algorithm
Ensemble learning models are ML methods in which several weak learners, which are base models, are trained to solve a problem and combined to achieve better results . When weak models are properly combined, they can produce more accurate or stable models [23, 24]. In ML models, the choice of algorithms is crucial to obtaining good results. Model selection depends on many variables in the problem such as data amount, data dimensions, and distribution hypothesis [31, 66]. In many cases, especially bagging and boosting methods, a single base learning algorithm is utilized. Consequently, there are several similar basic models trained in different ways, which are called homogeneous ensemble models . In other methods, such as the stacking method, different types of basic learning algorithms are used, which are called heterogeneous ensemble models [67, 68].
The proposed hybrid algorithm consists of two main steps. In the first step, preprocessing was performed on the dataset, as described in the previous section. In the second step, classification algorithms are applied to the dataset, and the results of the classification evaluation are compared. The classifier proposed in this paper is based on the ensemble learning algorithm in which the KNN algorithm is utilized as the base learner.
The ensemble learning model tries to produce a model for data classification that combines several learners such that they have high performance compared to the main learners [69, 70]. A key ensemble learning method is the bagging method, in which each classifier views a subset of the original data and builds its model based on it. The selection of this subset is performed with replacement from the full dataset [70, 71].
The proposed model is similar to the bagging method. In this model, 30 weak learners are used as basic learners. The weak learners used in this paper are KNN. The choice of this algorithm is motivated by its simplicity of implementation and stability to variations in the training dataset. The subset of features used in this step includes 21 of the best data features, obtained by the chi-squared test. These parameters determine the correlation between the input variables and the output class.
Based on the experimental results, the use of conventional feature selection methods such as relief and minimum redundancy maximum relevance (mRMR) on the tested data had a negative impact on the performance of data mining algorithms; consequently, we decided to adopt the random feature selection method in the proposed method. For each learner, a subset of input data features is selected randomly and with replacement. Subsequently, a subset of the training sample is trained by the KNN algorithm based on these features.
Each time a random subspace is selected, a new set of k nearest neighbors is computed. Therefore, the output of the models will be different. After training the learners, the learning algorithms (KNNs) are collected for the majority of votes regarding the class membership of the test sample according to the selected feature subset. The weight of all learners is considered equal, i.e., in the voting phase, all the algorithms have the same chance. Thus, the proposed model uses a combination of two bagging techniques and feature selection methods and attempts to classify datasets with the highest efficiency by selecting the best data features.
Evaluation of the ML models
The performance of the proposed models on the selected data set was evaluated. All the experiments were performed in MATLAB 2019. The evaluation criteria included accuracy, precision, sensitivity, specificity, and F-measure . A confusion matrix (Fig. 2) was used to calculate the value of the evaluation criteria . Each column of the matrix indicates an instance of the predicted value, and each row contains a real (correct) instance.
The calculation formula for each criterion is defined in Table 1. Another important evaluation criterion used in this paper is the area under the curve of the receiver operating characteristics curve (AUC-ROC), which determines the extent to which the model can differentiate between classes . Furthermore, the fivefold cross-validation method was adopted to evaluate the performance of the algorithms.
Hyperparameters in ML are parameters determined when configuring the model to control the learning process. These hyper-parameters are used to improve model learning, and their values are set before starting the model learning process. Not all hyper-parameters are equally important. Some hyper-parameters have a greater impact on the performance of the ML algorithm. In this paper, we value some of the most important hyperparameters for the ML models given in Table 2.
After reviewing the data set, 60 and 40 records of respectively non-SA and SA that had more than 70% missing values were removed. Of the remaining records, 32 records belonging to people less than 60 years old were discarded, and 983 records were finalized (239 SA and 744 non-SA). Of 983 individuals in this retrospective study, 561 (57.07%) were male and 422 (42.93%) were women, and the participants' median age was 77.25 (interquartile 60–103). The results of the chi-square test to determine the most important factors associated with SA are listed in Table 3. Variables entering univariant regression that have a p-value of less than 0.05 as presented in Table 3.
Table 4 demonstrates the results of univariant regression. Significant variables extracted from univariate regression were entered into the ML algorithms.
Based on Table 4, the determinant factors of age (years), sex, income level, insurance situation, hypertension, CVA, bone disease, muscle disease, depression, convalescences, diabetes, cancer, stress management, social and interpersonal relationships, life satisfaction, healthy lifestyle, nutrition status, the ability to perform ADLs, QOL, physical activity, and disease prevention activities correlated with the output class at P < 0.05. Therefore, these factors were considered the most critical factors determining SA in aged persons. The seven variables of educational level, marital status, occupation, renal, liver, eye, and other diseases (with P > 0.05) did not show any significant correlation with the output class and were excluded from the data mining process. The 21 features were entered into univariant regression. Based on Table 4, 21 features significant in SA were used as inputs to develop basic ML models.
Performance of the ML models
Table 5 shows the performance results of ML models. The precision criterion calculates the ratio of the number of people whose classifier has placed them in a positive class (SA) and are positive. According to this criterion, the ANN algorithm is the weakest algorithm and the proposed KNN-based ensemble algorithm has the greatest performance. The precision value in this algorithm is 93%. The SVM algorithm has the best value in terms of the recall criteria. This value is equal to 97.5% for the SVM algorithm and, therefore, it has the highest performance compared to other algorithms in identifying all people with SA. The KNN-based ensemble algorithm is better than other ML models in identifying all people who do not have SA. This means that this algorithm is the most successful in terms of specificity with a value of 92.4%. It is known that an algorithm is successful when it can establish a good balance between the two values of recall and specificity. The algorithm proposed in this paper has established the best balance between these two criteria. The criterion that considers both recall and specificity parameters is called the F-measure, whose value in the KNN-based ensemble algorithm is 90.3% and higher than the other compared models.
The most basic and simplest measure of the quality of a classifier is accuracy, which generally shows its quality in the correct detection of samples. The KNN-based ensemble algorithm is the best classifier with a value of 89.6%, and the NB algorithm has the lowest classification accuracy. The algorithm presented in this paper has the best performance in terms of the AUC criteria, i. e. the AUC-ROC curve in this algorithm is more than that of the other classifiers. Figure 3 depicts a bar chart to compare machine learning algorithms in terms of accuracy, precision, sensitivity, (recall), specificity, F-measure, and AUC.
Figure 4 illustrates the confusion matrix of all the classifiers, summarizing the performance of each classification model. These tables show the results of the classification based on the actual information available. The dimensions of these matrices are 2 * 2, i.e., the number of classes of data is 2, and each sample can be in one of two classes: 0 (unsuccessful aging) or 1 (SA). Based on the values calculated in the confusion matrix, different criteria for classification evaluation and accuracy measurement can be defined. By looking at these matrices, it can be concluded that the performance of the KNN-based ensemble algorithm is higher than the other classifiers. The ROC curve of all classifiers is depicted in Fig. 5. According to this figure, the proposed algorithm outperforms the other algorithms, which is confirmed by the numerical value obtained for the AUC parameter.
According to Rowe and Kahn’s theory, we measured SA in terms of three dimensions of physiological, cognitive-psychological, and social function . We intended to develop prediction models that take clinical and lifestyle variables as inputs and predict whether the individual has SA or not. Our findings provide significant insights into SA likelihood assessment. In line with our primary assumption, the developed ML approach yielded a strong classifier of SA status. Herein, we presented a new method that applies five basic MLs and a hybrid ensemble technique to predict SA.
Numerous ML techniques can be used to develop a prediction model. The existing ML techniques have numerous basic model assumptions, preventing their successful implementation. When the dataset is highly varied and noisy, as is the case for the SA data that are naturally multidimensional and heterogeneous, it is not clear which technique is appropriate because it is usually difficult to validate basic assumptions. Besides, no single ML technique provides acceptable prediction results. Researchers and scientists are always looking for trained ML models that have accurate and stable performance. In practice, however, the results of training models are not perfect, as sometimes only a few prejudiced models can be attained. By calculating the chance of occurrence of each outcome, if there are some independent models, the performance of the hybrid model is much better than a single model. Indeed, ensemble learning combines several models with moderate performance to achieve a better-performing prediction model .
To the best of our knowledge, this was the first effort that applied ensemble ML classifiers for SA prediction. Nevertheless, some studies have been conducted on the application of the ensemble method to predict and identify other social aspects of aging. For example, Paul applied ensemble ML classification algorithms to recognize daily living abilities among the elderly with HIV. After implementation, the gradient boosting algorithm gained an average AUC of 83% . In the study by Zhou, several ML classifiers such as DT, gradient boosting decision tree (GBDT), Ada boosting, bagging, and RF were compared to classify the healthy behaviors of the elderly. They concluded that ensemble learning classifiers improved modeling performance .
Liaqat compared the performance of multiple ML and deep learning classifiers for multiple activity recognition in elderly people. The developed ensemble algorithm outperformed other algorithms with an accuracy of 98% . The experimental results of two separate studies conducted by Byeon showed that the predictive performance of ensemble classifiers was the best for predicting mental and physical impairments of the aged living alone, with an accuracy of 87.4% and 0.67%, respectively . Shen showed that ensemble techniques perform better than single models in identifying the clinical support requirements of the elderly .
Lee compared the performance of base-level and hybrid-level learners (ensemble methods) to predict depression among the elderly. The results showed that ensemble models improve modeling capabilities . Lin et al. also compared the predictive performance of the bagging ensemble ML algorithm with other basic models such as linear regression, SVM, multilayer feedforward neural networks, and random forests to predict the functional outcomes of schizophrenia. Eventually, the bagging ensemble algorithm outperformed the other algorithms .
In this study, we presented the KNN-based ensemble to predict whether the tested people belong to the class of SA or non-SA. This method was a hybrid ML model. In the first step, the data were preprocessed to be suitable for use in data mining analysis. Then a KNN-based ensemble was presented which has a greater ability to predict the SA than basic ML models such as ANN, SVM, NB, DT, and KNN. The experimental results revealed that the predictive system has been more successful in predicting SA with a 93% precision, 92.40% specificity, 87.80% sensitivity, 90.31% F‑measure, 89.62% accuracy, and a ROC of 96.10% using a fivefold cross-validation procedure.
Our results showed a satisfactory level using ML to predict SA in an elderly population. The calculated metrics disclosed that measurements of the trained ML techniques based on the selected features accurately predicted SA. Improved forecast performance might be associated with feature selection using former theoretic and experiential studies, which can help to successfully decrease the number of unrelated or redundant variables in the model. Furthermore, to avoid overfitting, the technique of fivefold cross-validation was applied, which will also be helpful for the application of the model.
The novelty of our study lies in that we used an ensemble learning method. Our study highlights the power of ensemble ML vs. base ML techniques and how merging the power of several mixed ML algorithms can provide a more reliable accuracy, without bias. Although the ensemble ML in our study enhanced the prediction model performance, the predictive performance may be further enhanced by selecting other practical prediction models.
While our study offered an optimal performance in estimating the SA in aged people, it had some possible limitations that should be pointed out. First, this study retrospectively analyzed a dataset from a single database that influences the quality, comprehensiveness, and generalizability of data. By using this dataset, some inconsistent, inadequate, erroneous, and irregular data items could have undesirably impacted the prediction models. Thus, in the preprocessing phase, to improve data uniformity, the standard choice of each variable was determined based on the views of two gerontologists. Then, all the values outside the defined range (noisy fields) were specified and completed by a discussion with a gerontologist. Furthermore, the cases with more than 70% of blank fields were excluded and substituted by mean and mode values for constant and discrete variables separately. Second, this study only used six ML algorithms on a small sample dataset. The accuracy and generalizability of our models will increase if more ML techniques are tested on larger, multicenter, and prospective datasets. Third, an external validation method should be adopted to confirm the results of the present study. Fourth, this study did not investigate a causal relationship between the predictor and the outcome variables. Although this was not the main goal of this research, future studies are advised to determine a set of longitudinal factors associated with SA. Fifth, part of the data was collected during the coronavirus disease 2019 (COVID-19) pandemic, which may have affected the health of elderly people. This pandemic may influence the elderly's QOL, mental health, and the development of chronic complications. In this research, QOL and stress management questionnaires were used to measure the impact of the pandemic on SA. People who died due to COVID-19 were excluded from the study, and for those who suffered from mobility, their ability to perform ADLs was evaluated by Barthel's index. Furthermore, the stress management questionnaire measures the level of coping with environmental stress and removes the effect of COVID-19 as a confounding factor. In addition, the QOL questionnaire measures both physical and mental health, which neutralizes the physical and mental effects of COVID-19 as a confounding factor.
The main goal of this study was to evaluate several ML models (basic vs. ensemble) to predict SA. The findings revealed that the ensemble ML model is a promising approach for improving the prediction of SA. The present study may assist geriatricians and senior nurses in providing optimal supportive services and customized care for the elderly. Our developed prediction models also have the potential to provide healthcare managers and policymakers with a reliable and responsive tool to improve elderly outcomes. These predictive models may help promote SA probability. In future works, this model is expected to be applied and customized to other social problems.
Availability of data and material
The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.
The design and performance of our study are described and justified in a research protocol. The protocol includes information regarding funding, sponsors (funded), institutional affiliations, potential conflicts of interest, incentives for subjects, and information regarding provisions for treating and/or compensating subjects who are harmed as a consequence of participation in the research study. This protocol is as follows:
Artificial neural network
Support vector machine
World health organization
Quality of life
Area under the curve-receiver operating characteristics curve
Gradient boosting decision tree
Lin Y-H, Chen Y-C, Tseng Y-C. Tsai S-t, Tseng Y-H: Physical activity and successful aging among middle-aged and older adults: a systematic review and meta-analysis of cohort studies. Aging (Albany NY). 2020;12(9):7704.
Estebsari F, Dastoorpoor M, Khalifehkandi ZR, Nouri A, Mostafaei D, Hosseini M, Esmaeili R, Aghababaeian H. The concept of successful aging: a review article. Curr Aging Sci. 2020;13(1):4–10.
Berhan Y, Berhan A. A meta-analysis of socio-demographic factors for perinatal mortality in developing countries: a subgroup analysis of the national surveys and small scale studies. Ethiop J Health Sci. 2014;24(0):41. https://doi.org/10.4314/ejhs.v24i0.5S.
Chandraa CE, Abdullaha S. Forecasting mortality trend of indonesian old aged population with bayesian method. Int J Adv Sci Eng Inf Technol. 2022;12(2):580–8.
Seyda Seydel G, Kucukoglu O, Altinbasv A, Demir OO, Yilmaz S, Akkiz H, Otan E, Sowa JP, Canbay A. Economic growth leads to increase of obesity and associated hepatocellular carcinoma in developing countries. Ann Hepatol. 2016;15(5):662–72.
Pashaki NJ, Mohammadi F, Jafaraghaee F, Mehrdad N. Factors influencing the successful aging of Iranian old adult women. Iran Red Crescent Med J. 2015. https://doi.org/10.5812/ircmj.22451v2.
Wang Q, Li L. The effects of population aging, life expectancy, unemployment rate, population density, per capita GDP, urbanization on per capita carbon emissions. Sustain Product Consum. 2021;28:760–74.
Kiziltan M. The Effects of Population Aging and Life Expectancy on Economic Growth: The Case of Emerging Market Economies. In: Bayar Y, editor. Handbook of Research on Economic and Social Impacts of Population Aging. IGI Global; 2021. p. 97–118. https://doi.org/10.4018/978-1-7998-7327-3.ch007.
Seong MH, Shin E, Sok S. Successful aging perception in middle-aged korean men: aq methodology approach. Int J Environ Res Public Health. 2021;18(6):3095.
Lin L, Wang HH, Lu C, Chen W, Guo VY. Adverse childhood experiences and subsequent chronic diseases among middle-aged or older adults in China and associations with demographic and socioeconomic characteristics. JAMA Netw Open. 2021;4(10):e2130143–e2130143.
Ferrucci L, Gonzalez-Freire M, Fabbri E, Simonsick E, Tanaka T, Moore Z, Salimi S, Sierra F, de Cabo R. Measuring biological aging in humans: a quest. Aging Cell. 2020;19(2): e13080.
Lin E, Lin C-H, Lane H-Y. Prediction of functional outcomes of schizophrenia with genetic biomarkers using a bagging ensemble machine learning method with feature selection. Sci Rep. 2021;11(1):1–8.
Nosraty L, Pulkki J, Raitanen J, Enroth L, Jylhä M. Successful aging as a predictor of long-term care among oldest old: the vitality 90+ study. J Appl Gerontol. 2019;38(4):553–71.
Mendoza-Núñez VM, Pulido-Castillo G, Correa-Muñoz E, Rosado-Pérez J. Effect of a community gerontology program on the control of metabolic syndrome in mexican older adults. Healthcare. 2022;10(3):466. https://doi.org/10.3390/healthcare10030466.
Teater B, Chonody JM. What attributes of successful aging are important to older adults? The development of a multidimensional definition of successful aging. Soc Work Health Care. 2020;59(3):161–79.
Bowling A. Aspirations for older age in the 21st century: What is successful aging? Int J Aging Hum Dev. 2007;64(3):263–97.
Bosnes I, Nordahl HM, Stordal E, Bosnes O, Myklebust TÅ, Almkvist O. Lifestyle predictors of successful aging: a 20-year prospective HUNT study. PLoS ONE. 2019;14(7): e0219200.
Rowe JW, Kahn RL. Successful aging. Gerontologist. 1997;37(4):433–40.
Shafiee M, Hazrati M, Motalebi SA, Gholamzade S, Ghaem H, Ashari A. Can healthy life style predict successful aging among Iranian older adults? Med J Islam Repub Iran. 2020;34:139.
Chiao CY, Hsiao CY. Comparison of personality traits and successful aging in older Taiwanese. Geriatr Gerontol Int. 2017;17(11):2239–46.
Dorji L, Jullamate P, Subgranon R, Rosenberg E. Predicting factors of successful aging among community dwelling older adults in Thimphu, Bhutan. Bangkok Med J. 2019;15(1):38.
Ng TP, Broekman BF, Niti M, Gwee X, Kua EH. Determinants of successful aging using a multidimensional definition among Chinese elderly in Singapore. Am J Geriatr Psychiatry. 2009;17(5):407–16.
Anton SD, Woods AJ, Ashizawa T, Barb D, Buford TW, Carter CS, Clark DJ, Cohen RA, Corbett DB, Cruz-Almeida Y. Successful aging: advancing the science of physical independence in older adults. Ageing Res Rev. 2015;24:304–27.
Liu H, Byles JE, Xu X, Zhang M, Wu X, Hall JJ. Evaluation of successful aging among older people in China: results from China health and retirement longitudinal study. Geriatr Gerontol Int. 2017;17(8):1183–90.
Canêdo AC, Lopes CS, Lourenço RA. Prevalence of and factors associated with successful aging in Brazilian older adults: frailty in Brazilian older people study (FIBRA RJ). Geriatr Gerontol Int. 2018;18(8):1280–5.
Cai T, Long J, Kuang J, You F, Zou T, Wu L. Applying machine learning methods to develop a successful aging maintenance prediction model based on physical fitness tests. Geriatr Gerontol Int. 2020;20(6):637–42.
Raza K. Improving the prediction accuracy of heart disease with ensemble learning and majority voting rule. In: U-Healthcare Monitoring Systems. Elsevier; 2019. p. 179–96. https://doi.org/10.1016/B978-0-12-815370-3.00008-6.
Mienye ID, Sun Y, Wang Z. An improved ensemble learning approach for the prediction of heart disease risk. Inf Med Unlocked. 2020;20: 100402.
Nagarajan NR, Teixeira AA, Silva ST. Ageing population: identifying the determinants of ageing in the least developed countries. Popul Res Policy Rev. 2021;40(2):187–210.
Dixon A. The United Nations Decade of healthy ageing requires concerted global action. Nat Aging. 2021;1(1):2–2.
Gao X, Shan C, Hu C, Niu Z, Liu Z. An adaptive ensemble machine learning model for intrusion detection. IEEE Access. 2019;7:82512–21.
Lu J, Song E, Ghoneim A, Alrashoud M. Machine learning for assisting cervical cancer diagnosis: an ensemble approach. Futur Gener Comput Syst. 2020;106:199–205.
Tagharrobi Z, Sharifi K, Sooky Z. Psychometric evaluation of Shah version of modified Barthel index in elderly people residing in Kashan Golabchi nursing home. KAUMS J (FEYZ). 2011;15(3):213–24.
Bayani AA, Koocheky AM, Goodarzi H. The reliability and validity of the satisfaction with life scale. Dev Psychol. 2007;3(11):259–65.
Ware JE, Sherbourne CD. The MOS 36-ltem short-form health survey (SF-36): I. Conceptual framework and item selection. Med Care. 1992;30(6):473–83. https://doi.org/10.1097/00005650-199206000-00002.
Montazeri A, Goshtasebi A, Vahdaninia M, Gandek B. The short form health survey (SF-36): translation and validation study of the Iranian version. Qual Life Res. 2005;14(3):875–82.
Asghari Moghaddam M, Faghehi S. Validity of the sf-36 health survey questionnaire in two iranian samples. Clin Psychol Personal. 2003;1(1):1–10.
Bandari R, Shahboulaghi FM, Montazeri A. Development and psychometric evaluation of the healthy lifestyle questionnaire for elderly (heal). Health Qual Life Outcomes. 2020;18(1):1–9.
Rowe J, RL Kahn. Successful Aging. In: Pantheon Books, New York, NY, USA; 1998
Araújo L, Ribeiro O, Teixeira L, Paúl C. Successful aging at 100 years: the relevance of subjectivity and psychological resources. Int Psychogeriatr. 2016;28(2):179–88.
Lee SJ, Song M. Successful aging of Korean older adults based on Rowe and Kahn’s model: a comparative study according to the use of community senior facilities. J Korean Acad Nurs. 2015;45(2):231–9.
Strawbridge WJ, Wallhagen MI, Cohen RD. Successful aging and well-being: Self-rated compared with Rowe and Kahn. Gerontologist. 2002;42(6):727–33.
Ji H, Park K. Comparison of successful aging and its determinants by gender. Korean Soc Secur Stud. 2018;5:209–37.
Olson DL. Data set balancing. In: Chinese Academy of Sciences Symposium on Data Mining and Knowledge Management 2004 Jul 12 (pp. 71-80). Springer, Berlin, Heidelberg.
Feng W, Dauphin G, Huang W, Quan Y, Bao W, Wu M, Li Q. Dynamic synthetic minority over-sampling technique-based rotation forest for the classification of imbalanced hyperspectral data. IEEE J Selected Topics Appl Earth Observ Remote Sens. 2019;12(7):2159–69.
Douzas G, Bacao F, Last F. Improving imbalanced learning through a heuristic oversampling method based on k-means and SMOTE. Inf Sci. 2018;465:1–20.
Kumar V, Minz S. Feature selection: a literature review. SmartCR. 2014;4(3):211–29.
Hira ZM, Gillies DF. A review of feature selection and feature extraction methods applied on microarray data. Adv bioinf. 2015. https://doi.org/10.1155/2015/198363.
Chandrashekar G, Sahin F. A survey on feature selection methods. Comput Electr Eng. 2014;40(1):16–28.
Li J, Cheng K, Wang S, Morstatter F, Trevino RP, Tang J, Liu H. Feature selection: a data perspective. ACM Comput Surv. 2017;50(6):1–45.
Zhao Z, Morstatter F, Sharma S, Alelyani S, Anand A, Liu H. Advancing feature selection research. ASU feature selection repository. 2010:1-28.
Akgül M, Sönmez ÖE, Özcan T. Diagnosis of heart disease using an intelligent method: a hybrid ann – ga approach. In: Kahraman C, Cebi S, Onar SC, Basar Oztaysi A, Tolga C, Sari IU, editors. Intelligent and fuzzy techniques in big data analytics and decision making: proceedings of the INFUS 2019 Conference, Istanbul, Turkey, July 23-25, 2019. Cham: Springer; 2020. p. 1250–7. https://doi.org/10.1007/978-3-030-23756-1_147.
Guan Z-J, Li R, Jiang J-T, Song B, Gong Y-X, Zhen L. Data mining and design of electromagnetic properties of Co/FeSi filled coatings based on genetic algorithms optimized artificial neural networks (GA-ANN). Compos B Eng. 2021;226: 109383.
Keerthika J, Sruthi D, Swathi D, Swetha S, Vinupriya R: Diagnosis of Breast Cancer using Decision Tree Data Mining Technique. In: 2021 7th International Conference on Advanced Computing and Communication Systems (ICACCS): 2021: IEEE; 2021: 1530–1535.
Supriyanto A, Suryono S, Susesno JE. implementation data mining using decision tree method-algorithm C4.5 for postpartum depression diagnosis. E3S Web Conf. 2018;73:12012. https://doi.org/10.1051/e3sconf/20187312012.
Sinaga LM, Suwilo S. Analysis of classification and Naïve Bayes algorithm k-nearest neighbor in data mining. In: IOP Conference Series: Materials Science and Engineering 2020 (Vol. 725, No. 1, p. 012106). IOP Publishing.
Sembiring M, Tambunan R. Analysis of graduation prediction on time based on student academic performance using the Naïve Bayes Algorithm with data mining implementation (Case study: Department of Industrial Engineering USU). In: IOP Conference Series: Materials Science and Engineering: 2021: IOP Publishing; 2021: 012069.
Gopinath C, Manikanta J. Performance Analysis Based on Data Mining Technique in Predicting the Diabetic Disease-Decision tree and Naïve Bayes. In: 2019 1st International Conference on Advances in Information Technology (ICAIT): 2019: IEEE; 2019: 525–528.
Prasetya R, Ridwan A. Data mining application on weather prediction using classification tree, naïve bayes and K-nearest neighbor algorithm with model testing of supervised learning probabilistic brier score, confusion matrix and ROC. J Appl Commun Inf Technol. 2020;4(2):25–33.
Khazaei S, Najafi-GhOBADI S, Ramezani-Doroh V. Construction data mining methods in the prediction of death in hemodialysis patients using support vector machine, neural network, logistic regression and decision tree. J Prev Med Hyg. 2021;62(1):E222.
Chidambaram S, Srinivasagan K. Performance evaluation of support vector machine classification approaches in data mining. Clust Comput. 2019;22(1):189–96.
Mirbagheri E, Ahmadi M, Salmanian S. Common data elements of breast cancer for research databases: a systematic review. J Fam Med Primary Care. 2020;9(3):1296.
Yuan J, Douzal-Chouakria A, Varasteh Yazdi S, Wang Z. A large margin time series nearest neighbour classification under locally weighted time warps. Knowl Inf Syst. 2019;59(1):117–35.
Khorshid SF, Abdulazeez AM. Breast cancer diagnosis based on k-nearest neighbors: a review. PalArch’s J Archaeol of Egypt/Egyptol. 2021;18(4):1927–51.
Al-A’araji NH, Al-Mamory SO, Al-Shakarchi AH. Classification and clustering based ensemble techniques for intrusion detection systems: a survey. In: Journal of Physics: Conference Series: 2021: IOP Publishing; 2021: 012106.
Mochizuki R, Tsuchiya T, Hirose H, Yamada T. A model selection optimization method for distributed machine learning with feature model combination. IEICE Technical Report; IEICE Tech Rep 2021, 120(414):172–177.
Kadam VJ, Jadhav SM, Vijayakumar K. Breast cancer diagnosis using feature ensemble learning based on stacked sparse autoencoders and softmax regression. J Med Syst. 2019;43(8):1–11.
Lin E, Lin C-H, Lane H-Y. Applying a bagging ensemble machine learning approach to predict functional outcome of schizophrenia with clinical symptoms and cognitive functions. Sci Rep. 2021;11(1):1–9.
Gao L, Ding Y. Disease prediction via Bayesian hyperparameter optimization and ensemble learning. BMC Res Notes. 2020;13(1):205.
Li Y, Zhang C, Wang P, Xie T, Zeng X, Zhang Y, Cheng O, Yan F. A partition bagging ensemble learning algorithm for Parkinson’s speech data mining. J Biomed Eng. 2019;36(4):548–56.
Chen K, Peng Y, Lu S, Lin B, Li X. Bagging based ensemble learning approaches for modeling the emission of PCDD/Fs from municipal solid waste incinerators. Chemosphere. 2021;274: 129802.
Salman AA, Kumar MS. Introducing confusion matrix and accuracy in disease prediction on liver using machine learning.
Hu X. Environmental sustainability and the residential environment of the elderly: a literature review. Build Environ. 2021;206: 108337.
Peng T, Chen X, Wan M, Jin L, Wang X, Du X, Ge H, Yang X. The prediction of hepatitis E through ensemble learning. Int J Environ Res Public Health. 2021;18(1):159.
Paul R, Tsuei T, Cho K, Belden A, Milanini B, Bolzenius J, Javandel S, McBride J, Cysique L, Lesinski S. Ensemble machine learning classification of daily living abilities among older people with HIV. EClin Med. 2021;35: 100845.
Zhou Z. The application of machine learning in activity recognition with healthy older people using a batteryless wearable sensor. In: 2020 The 4th International Conference on advances in artificial intelligence: 2020; 2020: 1–8.
Liaqat S, Dashtipour K, Shah SA, Rizwan A, Alotaibi AA, Althobaiti T, Arshad K, Assaleh K, Ramzan N. Novel ensemble algorithm for multiple activity recognition in elderly people exploiting ubiquitous sensing devices. IEEE Sens J. 2021;21(16):18214–21.
Byeon H. Exploring factors for predicting anxiety disorders of the elderly living alone in South Korea using interpretable machine learning: a population-based study. Int J Environ Res Public Health. 2021;18(14):7625.
Shen Y, Hossain MA, Ray SK. Supporting elderly people during medical emergencies: an informal caregiver-based approach. In: 2021 IEEE Symposium on computers and communications (ISCC): 2021: IEEE; 2021: 1–6.
Lee ES. Exploring the performance of stacking classifier to predict depression among the elderly. In: 2017 IEEE International Conference on Healthcare Informatics (ICHI): 2017: IEEE; 2017: 13–20.
We thank the research deputy of the Abadan University of Medical Sciences for financially supporting this project. (ABADANUMS.REC.1401.029).
There was no funding for this research project.
Ethics approval and consent to participate
All experimental protocols were approved by the Abadan University of Medical Science ethical committee (ABADANUMS.REC.1401.029). All methods were carried out under relevant guidelines and regulations (Declaration of Helsinki). As the nature of the study is retrospective, the ethical committee of the Abadan University of Medical Sciences has waived informed consent for this study.
Consent for publication
The authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Asghari Varzaneh, Z., Shanbehzadeh, M. & Kazemi-Arpanahi, H. Prediction of successful aging using ensemble machine learning algorithms. BMC Med Inform Decis Mak 22, 258 (2022). https://doi.org/10.1186/s12911-022-02001-6
- Machine learning
- Ensemble learning
- Quality of life