Skip to main content

Multimorbidity in middle-aged women and COVID-19: binary data clustering for unsupervised binning of rare multimorbidity features and predictive modeling

Abstract

Background

Multimorbidity is typically associated with deficient health-related quality of life in mid-life, and the likelihood of developing multimorbidity in women is elevated. We address the issue of data sparsity in non-prevalent features by clustering the binary data of various rare medical conditions in a cohort of middle-aged women. This study aims to enhance understanding of how multimorbidity affects COVID-19 severity by clustering rare medical conditions and combining them with prevalent features for predictive modeling. The insights gained can guide the development of targeted interventions and improved management strategies for individuals with multiple health conditions.

Methods

The study focuses on a cohort of 4477 female patients, (aged 45-60) in Piedmont, Italy, and utilizes their multimorbidity data prior to the COVID-19 pandemic from their medical history from 2015 to 2019. The COVID-19 severity is determined by the hospitalization status of the patients from February to May 2020. Each patient profile in the dataset is depicted as a binary vector, where each feature denotes the presence or absence of a specific multimorbidity condition. By clustering the sparse medical data, newly engineered features are generated as a bin of features, and they are combined with the prevalent features for COVID-19 severity predictive modeling.

Results

From sparse data consisting of 174 input features, we have created a low-dimensional feature matrix of 17 features. Machine Learning algorithms are applied to the reduced sparsity-free data to predict the Covid-19 hospital admission outcome. The performance obtained for the corresponding models are as follows: Logistic Regression (accuracy 0.72, AUC 0.77, F1-score 0.69), Linear Discriminant Analysis (accuracy 0.7, AUC 0.77, F1-score 0.67), and Ada Boost (accuracy 0.7, AUC 0.77, F1-score 0.68).

Conclusion

Mapping higher-dimensional data to a low-dimensional space can result in information loss, but reducing sparsity can be beneficial for Machine Learning modeling due to improved predictive ability. In this study, we addressed the issue of data sparsity in electronic health records and created a model that incorporates both prevalent and rare medical conditions, leading to more accurate and effective predictive modeling. The identification of complex associations between multimorbidity and the severity of COVID-19 highlights potential areas of focus for future research, including long COVID and intervention efforts.

Peer Review reports

Background

Multimorbidity, which refers to the presence of multiple diseases and medical conditions in one individual, is consistently linked to a lower health-related quality of life in mid-life [1, 2]. Additionally, there is evidence suggesting that women have a higher likelihood of developing multimorbidity compared to their male counterparts [3]. Moreover, having multiple health problems at the same time has been found to make healthcare more expensive and create difficulties for healthcare systems in terms of resource allocation and providing appropriate care [4].

Moreover, multimorbidity can worsen the effects of long COVID in several ways [5, 6], when multimorbidity is present, additional symptoms related to other chronic conditions can compound the overall symptom burden, making it more challenging for individuals with long COVID to manage and recover from their illness. Research studies have indicated that individuals with multimorbidity have been adopting various precautionary behaviors during the pandemic [7, 8]. This is reflected in the restrictive guidelines recommended by authorities to control transmission [9]. Furthermore, studies have found that females are more likely to adopt protective measures compared to males [8]. The difference in precautionary behaviors based on gender underlines the importance of considering various demographic factors in the development of public health interventions during a pandemic.

This study specifically focuses on clustering binary data related to various medical conditions in middle-aged women. Cluster analysis is a valuable statistical technique for grouping objects based on their similarity in terms of indicator variables or features, and can be applied to identify clinically significant multimorbid groupings of medical conditions [10]. By using cluster analysis, researchers can learn important information about how different medical conditions are related and occur together. This helps them understand the complex connections between diseases and to develop personalized ways of treatment. It is also evident from the existing studies that clustering methodology can be applied to identify patient subgroups with similar disease profiles or symptom patterns [11]. Furthermore, it also can be utilized for identifying patient subgroups with distinct healthcare utilization trends and identifying risk factors associated with adverse outcomes [12]. In a multimorbidity study [13], the authors utilized K-means non-hierarchical cluster analysis to identify patterns of multimorbidity. Similarly, another study [14] focused on stratifying a population of high-risk multimorbid patients by using cluster analysis for risk stratification and identifying distinct characteristics of each cluster. These findings emphasize the significance of healthcare reform in addressing the unique needs of different patient clusters. By tailoring interventions and care strategies based on these identified clusters, healthcare providers can effectively address the diverse challenges associated with multimorbidity. Self-Organizing Feature Maps (SOFMs) have been widely employed in various clustering applications, including tasks like handwritten digit recognition [15]. In another study [16], the authors employed SOFMs to identify clusters of patients based on their healthcare data. However, SOFMs are not commonly used for clustering multimorbidity patterns, as these patterns typically involve clinical and demographic data rather than image data. Instead, other clustering approaches such as k-means, hierarchical clustering, and latent class analysis are more commonly employed for multimorbidity clustering.

However, in our study, we focus solely on clustering rare features, which are medical conditions that are not commonly observed in patient data. The methodology section explains the procedure employed in this study, detailing the process of grouping multimorbidity features into bins using a matrix based on cluster structures. This process involves two levels of clustering: the feature level and the data level, without making assumptions about the number of feature clusters. Once the features associated with each cluster are identified, they are mapped to corresponding bins. The unsupervised bins are then merged with prevalent features to create a new engineered feature matrix. The performance of models using clustered data is compared to models without clustered data, and the importance of the features is investigated, leading to the interpretation of the models.

Methods

The study focuses on a cohort of females in Piedmont, Italy. The study examines their medical history to analyze their multiple health conditions prior to the Covid-19 infection. The multiple health conditions are derived from the data of prescribed medications and diagnosed diseases. Prescribed medications are considered multimorbidity features in this study. Moreover, polypharmacy often goes hand in hand with multimorbidity, as individuals with multiple chronic conditions may require a complex medication regimen to manage their health. The severity of Covid-19 in these patients is determined based on whether they were hospitalized due to Covid-19 or not. Each patient’s information in the dataset is represented as a binary vector, indicating the presence or absence of various health conditions. Since many health conditions are very rare and present in some patients only, the data is sparse. By grouping and analyzing this sparse medical data, new composite features are created from rare features and combined with the existing common multimorbidity features including age to develop a predictive model for Covid-19 severity.

Study design and study population

This study is designed as a retrospective cohort study as it involves the retrospective analysis of data to examine the association between multimorbidity and COVID-19 outcomes over time. The historical data on prescriptions and hospital history from 2015 to 2019, which can be considered as exposure variables (multimorbidity) over a period of time. This study is evaluating the outcome of interest, which is the COVID-19 hospitalization status, during the period from February 2020 to May 2020.

Out of the 1,918,549 individuals in Piedmont, aged between 45 and 74 years, 85,348 underwent at least one swab during the observation period from February 2020 to May 2020 [17]. Of the 12,793 individuals who tested positive, 6832 females were there.

The study focused on a specific subset of the population, namely female patients aged 45-59 residing in Piedmont, Northern Italy. Inclusion criteria comprised individuals who tested positive for COVID-19 during the observation period from February 2020 to May 2020. Exclusion criteria included males, individuals outside the age range of 45-59, those residing outside Piedmont, and individuals who did not test positive for COVID-19 during the specified time frame. The corresponding exclusion and inclusion criteria resulted in 4,477 observations of female patients, and only 13.8% of them were hospitalized due to COVID-19 during the observation period.

Dataset and features

The data used in this study were collected from the Piedmont Longitudinal Study (PLS), utilizing administrative databases that involve linking anonymous records at the individual level [17]. This study investigates the multimorbidity profile of 4,477 female patients aged 45 to 59 years. We classify individuals aged 45 to 59 years as belonging to the middle-age category, aligning with prior research in this context [17].

In the dataset. there are 195 input features and 1 outcome variable where data comprises of 4,477 patient records (4477,196) where 3,861 individuals are not hospitalized and 616 individuals are hospitalized due to COVID-19. Since this is unbalanced data, the data is randomly undersampled. The under sampled dataset comprised of 1,232 patients’ records (4477,196). After resampling, zero columns are eliminated, which corresponded to records where all variables had a value of 0 in the resampled dataset. Subsequently, a comparison is conducted on all remaining fields in the resampled data with the original data to assess the similarity of proportions.

It is crucial to examine whether the resampling has been correctly accomplished as it is an important step in training this data using Machine Learning. So, the exclusion of features with significant differences is performed for retaining only those features for which there is no statistical evidence of a significant difference in proportions between the original and resampled datasets. The statistical procedure used to compare the proportion of each feature in the resampled data with that in the original data is based on a one-proportion z-test. By performing this method on each feature individually and eliminating the features in the resampled data that exhibit a significant difference in proportion compared to the original data, a new resampled dataset is created (1232,175) that is statistically similar to the original data. The resulting statistically similar dataset comprised of 1,232 patients records with 175 variables including the outcome variable.

The features used in this study are the prescriptions and diseases diagnosed for each patient in the cohort, along with the age variable. The age variable is represented as a binary variable, where 1 represents patients aged over 53 and 0 represents patients aged 53 or under. Specifically, the threshold of 53 was chosen to reflect the median within the age range, providing a meaningful criterion for distinguishing between patients above and below this central value in our analysis. All features are represented as binary variables, where 1 indicates the presence of the condition and 0 indicates the absence of the condition in the patient’s medical history from 2015 to 2019, prior to the COVID-19 pandemic. The data used in this study is labeled and belongs to the binary class of non-hospitalized and hospitalized patients (0 and 1, respectively).

Unsupervised feature binning

To group the multimorbidity features into various bins, a matrix is reconstructed based on the cluster structures. The clustering process involves two levels: feature level and data level, as shown in Fig. 1.

Fig. 1
figure 1

Feature level is performed to assign features into different clusters which are the Bins and data level clustering is performed where patients’ records are grouped into clusters based on the features within each Bin before predictive modeling

Binary Matrix Decomposition (BMD) offers a powerful approach for unsupervised feature reduction in binary data settings [18]. BMD seeks to factorize given binary data matrix into a reduced feature space that represent data points (U) and another reduced feature space that represent features (V). By projecting the original data points onto the reduced space determined by U, BMD achieves dimensionality reduction [19]. The latent factors in U capture underlying patterns or hidden structure in the data, providing a compressed representation suitable for various tasks like clustering. Thus, by decomposing the data into lower-dimensional binary matrices, BMD identifies latent features and reduces dimensionality while retaining essential information.

At the feature level clustering, a general model for clustering binary data that use the Binary Matrix Decomposition algorithm [20] is used to assign features into different clusters without bootstrapping on labeled train data. This method uses a Binary Matrix representation where rows represent the patients’s records, and columns represent features. BMD algorithm decompose the binary matrix to yield a probability matrix indicating the likelihood of features being part of specific clusters. Features are assigned to clusters iteratively based on whether the corresponding probability exceeds a threshold, refining the clustering model through repeated optimization until convergence, providing a systematic way to organize and interpret binary data features into meaningful clusters.

The clustering method does not make any assumptions about the number of feature clusters. After identifying the features associated with each cluster, each feature is mapped to its corresponding bin. Features that are not considered rare (i.e., present in at least 20% of the data) are not mapped to any bin and are used as they are. Only the rare features are mapped to their corresponding cluster, forming the Cluster Map.

Using the Cluster Map, the features within each cluster are represented as a Feature Bin Matrix (FBM). The training FBM consists of the features in the corresponding cluster, along with the feature values for all patients in the training dataset (without the class label). The unsupervised learning [21] is performed on the training FBM using the same BMD algorithm, iteratively for each cluster in the Cluster Map. The resulting values for each cluster are obtained. The trained model is then used to predict the cluster labels for the test FBM.

The unsupervised bins engineered from the FBMs are merged with the prevalent features (with the features excluded from the Cluster Map) to form a new engineered Feature Matrix (FM). This process is carried out separately for the training and test sets, resulting in the train FM and test FM, respectively. During the data level clustering, both datasets are handled separately without the class label to prevent data leaks.

In the data-level clustering step, we categorize patients’ records into two distinct clusters based on the features within each bin. Each patient’s record is assigned to one of the two clusters, ensuring a comprehensive grouping based on the relevant features within the given bin. For instance, consider a scenario where a cluster comprises n features in a bin. During data-level clustering, each patient’s record (row) in that bin is assigned a specific value. Consequently, this assigned value represents the contribution of that patient to the n features in that bin. After completing the data-level clustering for all patients, each bin accumulates values for every patient. Then that bin act as a new engineered feature where the data level clustering provided values for that feature. The entire procedure is illustrated in Fig. 2.

Fig. 2
figure 2

Unsupervised feature binning of rare features and generation of the Feature Matrix using new engineered features and other features: First of all data pertaining to prevalent features are sliced out. On the remaining data which contain the non-prevalent features, the clustering is applied. The process involves both feature-level clustering, where features are grouped into clusters using the BMD algorithm, and data-level clustering, where patients’ records are grouped into clusters. These tasks are interconnected as features within each cluster are used to create FBMs. Subsequently, data-level clustering is performed on these FBMs to assign patients’ records into clusters. Thus value obtained from data level clustering act as new features to replace original sparse data. The ultimate objective is to construct an engineered FM by combining these new bins with prevalent features, ensuring that both prevalent and combinations of non-prevalent features are considered for predictive modeling

Predictive modeling

To assess the performance of different Machine Learning algorithms in predicting hospital admission due to Covid-19, we utilized the train and test FM datasets. Since the data is labeled, we employed a supervised learning approach on this engineered dataset. The trained binary classification model was then applied to the holdout data to classify patients into one of two classes: whether or not hospital admission is required, taking into account their multimorbidity history.

Following the creation of the train and test FM datasets with the newly engineered features, we analyzed the variance of each feature. We trained the train FM using various Machine Learning algorithms available in the Pycaret package [22], employing 5-fold cross-validation.

Due to the sparsity of the data and the skewed distribution of value levels (0 or 1), certain levels may dominate others, resulting in insufficient variation to generate informative features. Therefore, during the Machine Learning-based predictive modeling, such non-informative features can be disregarded. The criteria for ignoring low-variance features [23] are as follows:

$$\begin{aligned} \frac{\text {number of unique values in a feature}}{\text {sample size}} < 10\% \end{aligned}$$

and

$$\begin{aligned} \frac{\text {number of most prevalent value}}{\text {number of second most prevalent value}} > 20 \end{aligned}$$

The best-performing model is selected by examining the mean area under the curve (AUC) score of each Machine Learning model. Later, the best model is evaluated using the test FM and the performance scores are reported.

Table 1 Cluster Map: Rare features are clustered and mapped to their corresponding cluster (Bins) after feature level clustering

Results

Clustering

After applying feature-level clustering to the training data, a Cluster Map is generated. In this Cluster Map, rare features are clustered and assigned to their respective bins, resulting in 13 feature clusters. The bin values for each observation are calculated by determining the cluster label of the corresponding features in that bin. Table 1 illustrates the resulting 11 bins after excluding features with low variance.

Consequently, from an initial set of 174 input features, we have created a low-dimensional feature matrix consisting of 17 features. Even though mapping data with a higher dimension to a space of low dimension leads to some information loss [24], the predictive ability of the new data without sparsity can be an advantage for Machine Learning modeling.

Model selection

To select the best model from various Machine Learning algorithms, we compared the AUC score of each Machine Learning model after executing a 5-fold cross-validation.

Using all features

During cross-validation using the train data with all 174 features, the best performance was obtained by LR (accuracy 0.72, AUC 0.76, F1-score 0.69), CatBoost Classifier (accuracy 0.72, AUC 0.76, F1-score 0.68), and Gradient Boosting Classifier (accuracy 0.72, AUC 0.76, F1-score 0.67).

Using the features which are reduced by clustering technique and ignoring the features with low variance

During cross-validation using the train data with only 17 features, the best performance was obtained by LR (accuracy 0.7, AUC 0.74, F1-score 0.68), LDA (accuracy 0.7, AUC 0.74, F1-score 0.66) and Ada Boost Classifier (accuracy 0.7, AUC 0.73, F1-score 0.67). The 5-fold cross-validation scores of each Machine Learning model are tabulated in Table 2.

Table 2 Score of the Machine Learning models obtained during 5-fold Cross Validation using reduced features

Model performance evaluation

After analyzing the cross-validation results, the top three models are selected based on their performance. To assess the predictive ability of these Machine Learning algorithms on the reduced data without sparsity, we applied them to predict the outcome of Covid-19 hospital admission using the test Feature Matrix (FM).

The performance metrics of the selected models on the test FM (holdout data) are as follows: LR (accuracy 0.72, AUC 0.77, F1-score 0.69), LDA (accuracy 0.7, AUC 0.77, F1-score 0.67) and Ada Boost (accuracy 0.7, AUC 0.77, F1-score 0.68). For a comprehensive overview, please refer to Table 3 for the complete set of results.

Table 3 Performance Evaluation of the selected Machine Learning models using Holdout data

Feature importance

Feature importance refers to the scores assigned to input features, which indicate their relative significance in making predictions. These scores provide insights into the importance of each feature in the data and the model. Feature importance helps not only in explaining the influential features but also in understanding the data and model better.

Feature importance score from the model coefficients

In linear algorithms such as LR and LDA, the predictions are calculated as a weighted sum of the observations, with the coefficients determined by the algorithm. In this context, negative coefficients indicate that as the value of a feature increases, the severity due to Covid-19 is predicted to decrease, suggesting no hospital admission. The features with negative coefficients in both LR and LDA algorithms are bin 2, bin 3, bin 4, bin 7, bin 10, J01CR, J01FA, and Age >53. On the other hand, features with positive coefficients have a positive association with the severity outcome. A higher negative coefficient indicates a stronger negative association between the input feature and the severity outcome. For example, if the value of a cluster or feature is 1, it suggests that most patients belonging to that cluster or feature category have a lower chance of severe Covid-19 outcomes, and vice versa. Conversely, in the case of a positive coefficient, if the cluster or feature value is 1, it indicates an increased likelihood of severe Covid-19 outcomes, and vice versa.

Fig. 3
figure 3

Feature importance scores from LR, LDA, and Ada Boost Models

The impurity-based feature importance

In the Ada Boost algorithm, the feature scores are determined using the Gini importance [25]. This score is calculated for each decision tree based on how much a single feature split improves the model’s performance, and it is normalized by the number of observations accounted for by that feature.

To analyze the feature importance of all three models (LR, LDA, and Ada Boost), we aggregated them and visualized the results in Fig. 3. In the case of linear models (LR and LDA), the feature importance is represented by the absolute values of the coefficients. For the Ada Boost Classifier, the feature importance values are scaled and presented in the visualization.

Interpretation of the model

We used SHAP (SHapley Additive exPlanations) [26] to interpret the most impactful features that our models utilize in determining the status of the hospitalization. The SHAP heatmap for the linear models depicted in Fig. 4 is based on the 20% test samples (X-axis). The sorted global feature importance is represented by the Y-axis and the bar plot (right-hand side). The magnitude of SHAP values of each observation (each patient) is represented by colors. The blue color for a feature denotes, in that patient profile, that particular feature has a value of 0 and this feature contributed to or impacted the prediction of the severity either positively or negatively. The topmost graph, f(x) represents the model predictions of each patient’s multimorbidity profile.

Fig. 4
figure 4

Heatmap matrix and global importance of features

In the LR heatmap of SHAP values, while examining the f(x), the 0th patient observation number possesses a higher prediction. So, it is predicted that the patient is admitted to the hospital, and the features in cluster “bin 10” contribute more positively to the Covid-19 severity of that particular patient. Similarly, we can interpret the results of other patients for all the features using this visualization.

Discussion

According to literature, women appear to be relatively less susceptible to SARS-CoV-2 infection than men [27]. But epidemiological data reveals no visible sex-based discrepancy in disease severity, suggesting that the progression of the virus is comparably favorable in both women and men, and there is a similarity in the age at which the rate of SARS-CoV-2 infection peaks for both male and female [28, 29]. However, the specific comorbidities that increase the risk of severe COVID-19 outcomes can differ significantly between men and women [30]. This underscores the need for a refined understanding of gender-specific factors influencing susceptibility and outcomes in the context of the COVID-19 pandemic. While existing literature provides valuable insights, there is a distinct lack of in-depth investigation specifically focusing on women [28]. To comprehensively address this gap in knowledge, it is imperative to advocate for targeted research works dedicated to understanding the unique aspects of women’s vulnerability or protection against COVID-19.

In our study, we utilized a combination of clustering and Machine Learning approaches to assess the severity of COVID-19 in women in midlife. Clustering less prevalent features into various Bins enhanced the interpretability of our data. By strategically grouping less common features into Bins and integrating them with prevalent ones, we aimed to capture a comprehensive picture of multimorbidity among women in midlife. Constructing clusters of multimorbidity and interpreting the outcomes at the patient level also allows us to identify, for future patients, which cluster value of a Bin contribute to whether a group of patients will be hospitalized or not due to COVID-19. Furthermore, in this study, identifying the most predictive feature or a Bin that includes less prevalent features helps in revealing the underlying combination of multimorbidity that predicts the severity of COVID-19 among women in midlife.

Examining Fig. 3 for the top-performing Machine Learning models in this study reveals that the age variable (age > 53) and the feature as a Anatomical Therapeutic Chemical (ATC) code, ATC A11C (Vitamin D and analogues) play crucial roles as predictors for COVID-19 hospitalization outcomes in middle-aged women. Existing literature provides support for the notion that individuals with a vitamin D deficiency are more susceptible to developing severe or critical cases of COVID-19 compared to those with sufficient vitamin D levels [31]. The other important features are the engineered features Bin 10 and Bin 3.

We found that Bin 10, which includes only one ATC code, ATC J01DD, consistently stands out as important across all major Machine Learning models. A retrospective drug-utilization study in Campania, southwestern Italy, found a higher prevalence of this third-generation cephalosporins (ATC J01DD) in COVID-19 positive adults under 40 and above 80, compared to the general population [32]. Additionally, a Hungarian study on hospital antibiotic consumption revealed a noteworthy 63.7% increase in the utilization of ATC J01DD from 2010 to 2019, with a substantial 70.46% surge during the pandemic years from 2019 to 2020 [33].

In Bin 3, under International Classification of Diseases, Ninth Revision (ICD-9), code ICD 574 corresponds to Cholelithiasis, a condition characterized by gallstone formation in the gallbladder. Research indicates a significant link between obesity and symptomatic gallstones, suggesting that even moderate overweight increases the risk in middle-aged women [34]. Individuals with gallstones often exhibit impaired gallbladder motility, potentially associated with additional gastrointestinal abnormalities [35]. Bin 3 also includes ATC A03FA (Propulsives) for stimulating gastrointestinal motility, ATC A05AA for medications related to bile acids and derivatives for managing certain liver diseases, ATC B03BA (Vitamin B12), ATC A12BA (Potassium), and ATC A12AA (Calcium). Calcium supplements for preventing mineral and bone disorders in chronic kidney disease (CKD) have been both praised and criticized [36].

Acute cholecystitis (AC) is a prevalent gastrointestinal ailment. The primary cause of AC is gallstone-related, but it may also be linked to diabetes, immunosuppression, CKD, and viral illnesses [37]. CKD significantly increases the risk of experiencing severe complications from COVID-19 [38]. A UK Biobank Community Cohort study revealed that in women both CKD and asthma posed a substantial risk for COVID-19 hospitalization, whereas in men, these conditions did not carry a similarly significant risk [30]. Additionally, females with asthma had a higher adjusted risk of hospitalization and death from COVID-19 compared to males with asthma, even after considering other factors [39]. Bin 3 also includes ATC D05AX (Corticosteroids in combination with vitamin D analogues for psoriasis treatment). Psoriasis may be associated with an increased risk of asthma, and childhood asthma is linked to a significantly higher risk of psoriasis [40].

Other features in Bin 3 include ICD 727 (Other disorders of synovium, tendon, and bursa) and ICD 338 (Pain, not elsewhere classified), encompassing chronic postoperative pain. A study on pain management during COVID-19 indicates that pain prevalence is 1.5-2 times more common in women than in men, with a higher ratio for specific conditions like fibromyalgia, which predominantly affects middle-aged women [41].

Research on the COVID-19 pandemic and cholecystitis suggests that the pandemic influenced healthcare-seeking behaviors for individuals with less severe health conditions [42]. A population-based cross-sectional study found that healthcare avoidance during the pandemic exhibited a robust correlation with being female, perceiving one’s health as fragile, and experiencing elevated levels of depression and anxiety [43].

Other medications in Bin 3 include Analgesics, Antiepileptics, and those related to the Cardiovascular system (C03, C07, C09, C10). In a study analyzing prescription data from June 2016 to March 2021, women exhibited a greater prevalence of antiseizure medication prescriptions compared to men, totaling around 1.3 million prescriptions [44]. Additionally, ATC C10AB, referring to fibrates, a type of medication used to lower cholesterol and triglycerides, may contribute to mitigating the inflammatory and thrombotic outcomes associated with SARSCoV-2 infection [45].

Strengths and limitations

Training Machine Learning models in a reduced feature space would be beneficial, can be supported by our current results. Our intention in applying unsupervised methodology for feature reduction was rooted in the belief that a simplified feature space could lead to more interpretable models and potentially improved generalization performance. However, we recognize that the results obtained for Machine Learning models, which demonstrated superior performance with the complete set of features, appear slightly lower when trained on the reduced feature set.

Despite a slightly lower AUC, achieving competitive predictive performance with less number of features raises the question of the computational cost-effectiveness of using a reduced feature set. If computational resources are a critical consideration, our findings suggest that the reduced feature set could offer a pragmatic solution, providing a reasonable trade-off between predictive accuracy and computational requirements.

In the context of model interpretation, it is noteworthy to mention that, while writing this manuscript, SHAP support for AdaBoostClassifier is in the process of being integrated into the official SHAP library. A relevant pull request is under review on the SHAP GitHub repository [46]. We are closely monitoring the progress, and once integrated, we plan to incorporate SHAP plots for AdaBoost into our future analyses.

Conclusion

The process of the unsupervised binning of the rare features can be divided into three phases: (1) extracting more prevalent features, (2) feature level clustering of the rare features to create bins, and (3) data level clustering of the features in a bin. The dimensionally reduced data with newly engineered features are used for the predictive modeling. The removal of data sparsity by this unsupervised binning of the rare features offered a low dimensional feature matrix for the predictive modeling. We have compared the predictive ability of the new sparsity-free feature matrix and the original sparse data and found that with a very low number of features itself, the model achieves nearly equal prediction performance. We have also checked the predictive utility of the new feature matrix by interpreting the feature importance and impact of the new features in the Machine Learning model.

The use of the method to address data sparsity in medical data and improve the understanding of the factors associated with the impact of infectious diseases on health outcomes in a population with multimorbidity is significant. By clustering sparse medical data and creating new features, the method could provide a more detailed understanding of multimorbidity patterns and the associations between different diseases. Improving the understanding of the factors associated with the severity of COVID-19 in this population could have important implications for public health policies, as middle-aged women with multimorbidity may be particularly vulnerable to the disease. The method has the potential to lead to better healthcare outcomes and inform public health policies related to COVID-19.

In our future works, we aim to enhance our work by integrating patient stratification based on their healthcare requirements, which entails the clustering of patient data to identify groups with similar healthcare utilization patterns. This approach will aid in identifying patient subgroups with distinct clinical profiles, which can help in designing targeted interventions and personalized care. Also, more research is needed to understand the direct impact of COVID-19 on midlife women’s help-seeking behaviors related to menopause specifically [47]. As a future work we are also planning to use Machine Learning to identify patterns in healthcare seeking behaviors before and after COVID-19 diagnosis in midlife women.

Availability of data and materials

The datasets are not publicly available. The requirement for informed consent is deemed unnecessary according to national regulation “Presidential Decree N. 20 of the Official Gazette of the Italian Republic N. 122 of May 26, 2022, “National Statistical Program” [48]. TLS\P (Turin\Piedmont Longitudinal Study) is a specific project of the Italian National Statistical Program (PSN) that is proposed by the National Statistical System (SISTAN), a network of public and private entities that provides the country and international bodies with official statistical information1, and is yearly approved by law by the Italian Parliament. In particular, since 2003 a specific form (PIE-00001 “Monitoring of socio-economic differences in mortality and morbidity through longitudinal studies”) is included in the PSN currently in effect for the three-year period 2020-2022 [49] and recently renewed for the period 2023-2025. Due to the restrictions imposed by ethical committees, the raw data cannot be made publicly or freely available to ensure the privacy and protection of individual-level data. However, researchers can request access to aggregated data by contacting the corresponding author through a reasonable inquiry.

References

  1. Harrison C, Fortin M, van den Akker M, Mair F, Calderon-Larranaga A, Boland F, et al. Comorbidity versus multimorbidity: why it matters. J Multimorb Comorb. 2021;11:2633556521993993. https://doi.org/10.1177/2633556521993993.

  2. Kanesarajah J, Waller M, Whitty JA, Mishra GD. Multimorbidity and quality of life at mid-life: a systematic review of general population studies. Maturitas. 2018;109:53–62.

    Article  PubMed  Google Scholar 

  3. Alimohammadian M, Majidi A, Yaseri M, Ahmadi B, Islami F, Derakhshan M, et al. Multimorbidity as an important issue among women: results of a gender difference investigation in a large population-based cross-sectional study in West Asia. BMJ Open. 2017;7(5):e013548.

    Article  PubMed  PubMed Central  Google Scholar 

  4. McPhail SM. Multimorbidity in chronic disease: impact on health care resources and costs. Risk Manag Healthc Policy. 2016;9:143–56. https://doi.org/10.2147/RMHP.S97248.

    Article  PubMed  PubMed Central  Google Scholar 

  5. Turner S, Khan MA, Putrino D, Woodcock A, Kell DB, Pretorius E. Long COVID: pathophysiological factors and abnormalities of coagulation. Trends Endocrinol Metab. 2023;34(6):321–44.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  6. Russell CD, Lone NI, Baillie JK. Comorbidities, multimorbidity and COVID-19. Nat Med. 2023;29(2):334–43.

    Article  CAS  PubMed  Google Scholar 

  7. Jose R, Narendran M, Bindu A, Beevi N, Manju L, Benny P. Public perception and preparedness for the pandemic COVID 19: a health belief model approach. Clin Epidemiol Glob Health. 2021;9:41–6.

    Article  CAS  PubMed  Google Scholar 

  8. Delerue Matos A, Fonseca de Paiva A, Cunha C, Voss G. Precautionary behaviours of individuals with multimorbidity during the COVID-19 pandemic. Eur J Ageing. 2022;19(4):827–35. https://doi.org/10.1007/s10433-021-00632-8.

  9. Benny D, Castro S, Mujahid O, Abrosimova OL. Contact tracing for COVID-19 in Ukraine: insights from a case study in the region of Chernivtsi. Reg Acad U N. 2021;8(1):1–43. https://hdl.handle.net/2318/1887191.

  10. Cornell JE, Pugh JA, Williams JW Jr, Kazis L, Lee AF, Parchman ML, et al. Multimorbidity clusters: clustering binary data from multimorbidity clusters: clustering binary data from a large administrative medical database. Appl Multivar Res. 2008;12(3):163–82.

    Article  Google Scholar 

  11. Ghebre MA, Bafadhel M, Desai D, Cohen SE, Newbold P, Rapley L, et al. Biological clustering supports both “Dutch’’ and “British’’ hypotheses of asthma and chronic obstructive pulmonary disease. J Allergy Clin Immunol. 2015;135(1):63–72.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  12. Ng SHX, Rahman N, Ang IYH, Sridharan S, Ramachandran S, Wang DD, et al. Characterization of high healthcare utilizer groups using administrative data from an electronic medical record database. BMC Health Serv Res. 2019;19(1):1–14.

    Article  Google Scholar 

  13. Violán C, Roso-Llorach A, Foguet-Boreu Q, Guisado-Clavero M, Pons-Vigués M, Pujol-Ribera E, et al. Multimorbidity patterns with K-means nonhierarchical cluster analysis. BMC Fam Pract. 2018;19:1–11.

    Article  Google Scholar 

  14. Bretos-Azcona PE, Sánchez-Iriso E, Cabasés Hita JM. Tailoring integrated care services for high-risk patients with multiple chronic conditions: a risk stratification approach using cluster analysis. BMC Health Serv Res. 2020;20:1–9.

    Article  Google Scholar 

  15. Benny D, Soumya KR, Rao KN. New Dynamic Self-organizing Feature maps for the classification of Extracted Feature vectors of characters. In: 2015 International Conference on Robotics, Automation, Control and Embedded Systems (RACE). IEEE; 2015. p. 1–3. https://doi.org/10.1109/RACE.2015.7097273.

  16. Khalilia MA, Popescu M, Keller J, Patient stratification based on activity of daily living score using relational self-organizing maps. In: 2014 IEEE Symposium on Computational Intelligence in Healthcare and e-health (CICARE). IEEE; 2014. p. 112–6.

  17. Catalano A, Dansero L, Gilcrease W, Macciotta A, Saugo C, Manfredi L, et al. Multimorbidity and SARS-CoV-2-Related Outcomes: Analysis of a Cohort of Italian Patients. JMIR Public Health Surveill. 2023;9(1):e41404.

    Article  PubMed  PubMed Central  Google Scholar 

  18. Zhang Z, Li T, Ding C, Zhang X. Binary matrix factorization with applications. In: Seventh IEEE international conference on data mining (ICDM 2007). IEEE; 2007. p. 391–400.

  19. Belohlavek R, Vychodil V. Discovery of optimal factors in binary data via a novel method of matrix decomposition. J Comput Syst Sci. 2010;76(1):3–20.

    Article  Google Scholar 

  20. Li T. A general model for clustering binary data. In: Proceedings of the eleventh ACM SIGKDD international conference on Knowledge discovery in data mining (KDD '05). New York: Association for Computing Machinery; 2005. p. 188–197. https://doi.org/10.1145/1081870.1081894.

  21. Benny D, Soumya KR. New local adaptive thresholding and dynamic self-organizing feature map techniques for handwritten character recognizer. In: 2015 International Conference on Circuits, Power and Computing Technologies [ICCPCT-2015]. IEEE; 2015. p. 1–4. https://doi.org/10.1109/ICCPCT.2015.7159293.

  22. Ali M. (2022, April). PyCaret: An open source, low-code machine learning library in Python [PyCaret version 2.3.10]. https://pycaret.org/.

  23. Pycaret. Feature Selection - Docs. Pycaret. https://pycaret.gitbook.io/docs/get-started/preprocessing/feature-selection. Accessed 30 Jan 2023.

  24. Jia W, Sun M, Lian J, Hou S. Feature dimensionality reduction: a review. Complex Intell Syst. 2022;8(3):2663–93.

    Article  Google Scholar 

  25. Patil S, Patil A, Phalle VM. Life prediction of bearing by using adaboost regressor. In: Proceedings of International Conference on Tribology [TRIBOINDIA-2018], Mumbai, India. https://doi.org/10.2139/ssrn.3398399. Available at: SSRN 3398399.

  26. Lundberg SM, Lee SI. A unified approach to interpreting model predictions. Adv Neural Inf Process Syst. 2017;30. p. 4765–74. https://papers.nips.cc/paper/7062-a-unified-approach-to-interpreting-model-predictions.pdf.

  27. Pivonello R, Auriemma RS, Pivonello C, Isidori AM, Corona G, Colao A, et al. Sex disparities in COVID-19 severity and outcome: are men weaker or women stronger? Neuroendocrinology. 2021;111(11):1066–85.

    Article  CAS  PubMed  Google Scholar 

  28. Stillwell RC. Exclusion of women from COVID-19 studies harms women’s health and slows our response to pandemics. Biol Sex Differ. 2022;13(1):27.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  29. Griffith DM, Sharma G, Holliday CS, Enyia OK, Valliere M, Semlow AR, et al. Men and COVID-19: a biopsychosocial approach to understanding sex differences in mortality and recommendations for practice and policy interventions. Prev Chronic Dis. 2020;17:E63.

    Article  PubMed  PubMed Central  Google Scholar 

  30. Atkins JL, Masoli JA, Delgado J, Pilling LC, Kuo CL, Kuchel GA, et al. Preexisting comorbidities predicting COVID-19 and mortality in the UK biobank community cohort. J Gerontol Ser A. 2020;75(11):2224–30.

    Article  CAS  Google Scholar 

  31. Dror AA, Morozov N, Daoud A, Namir Y, Yakir O, Shachar Y, et al. Pre-infection 25-hydroxyvitamin D3 levels and association with severity of COVID-19 illness. PLoS ONE. 2022;17(2):e0263069.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  32. Orlando V, Coscioni E, Guarino I, Mucherino S, Perrella A, Trama U, et al. Drug-utilisation profiles and COVID-19. Sci Rep. 2021;11(1):8913.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  33. Ruzsa R, Benkő R, Hambalek H, Papfalvi E, Csupor D, Nacsa R, et al. Hospital Antibiotic Consumption before and during the COVID-19 Pandemic in Hungary. Antibiotics. 2024;13(1):102.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  34. Maclure KM, Hayes K, Colditz GA, Stampfer MJ, Speizer FE, Willett WC. Weight, diet, and the risk of symptomatic gallstones in middle-aged women. N Engl J Med. 1989;321(9):563–9.

    Article  CAS  PubMed  Google Scholar 

  35. Portincasa P, Di Ciaula A, Palmieri V, Velardi A, vanBerge Henegouwen G, Palasciano G. Impaired gallbladder and gastric motility and pathological gastro-oesophageal reflux in gallstone patients. Eur J Clin Investig. 1997;27(8):653–61.

    Article  CAS  Google Scholar 

  36. Evenepoel P, Viaene L, Meijers B. Calcium balance in chronic kidney disease: walking the tightrope. Kidney Int. 2012;81(11):1057–9.

    Article  CAS  PubMed  Google Scholar 

  37. Derebey M, Yüksek Ma, Karabacak U, Mutlu V, Mizan SR, Tarim IA, et al. Effects of COVID-19 pandemic on management of acute cholecystitis: a single tertiary center’s experience. J Exp Clin Med. 2022;39(1):164–8.

  38. Hilbrands Luuk B, Jager Kitty J, Noordzij Marlies Vart Priya Gansevoort Ron T, EWGDRFCFHMH. Chronic kidney disease is a key risk factor for severe COVID-19: a call to action by the ERA-EDTA. Nephrol Dial Transplant. 2021;36(1):87–94. http://orcid.org/0000/0002-4935-9765

  39. Dolby T, Nafilyan V, Morgan A, Kallis C, Sheikh A, Quint JK. Relationship between asthma and severe COVID-19: a national cohort study. Thorax. 2023;78(2):120–7. https://doi.org/10.1136/thoraxjnl-2021-218629.

    Article  PubMed  Google Scholar 

  40. Egeberg A, Khalid U, Gislason GH, Mallbris L, Skov L, Hansen PR. Risk of psoriasis in patients with childhood asthma: a Danish nationwide cohort study. Br J Dermatol. 2015;173(1):159–64.

    Article  CAS  PubMed  Google Scholar 

  41. El-Tallawy SN, Nalamasu R, Pergolizzi JV, Gharibo C. Pain management during the COVID-19 pandemic. Pain Ther. 2020;9:453–66.

    Article  PubMed  PubMed Central  Google Scholar 

  42. Vallès KF, Neufeld MY, Caron E, Sanchez SE, Brahmbhatt TS. COVID-19 pandemic and the cholecystitis experience at a major urban safety-net hospital. J Surg Res. 2021;264:117–23.

    Article  PubMed  PubMed Central  Google Scholar 

  43. Steenblock C, Schwarz PE, Perakakis N, Brajshori N, Beqiri P, Bornstein SR. The interface of COVID-19, diabetes, and depression. Discov Ment Health. 2022;2(1):5.

    Article  PubMed  PubMed Central  Google Scholar 

  44. Lavu A, Janzen D, Aboulatta L, Peymani P, Haidar L, Desrochers B, et al. Prescription trends of antiseizure medications before and during the COVID-19 pandemic. Front Neurol. 2023;14:1135962.

    Article  PubMed  PubMed Central  Google Scholar 

  45. Alkhayyat SS, Al-Kuraishy HM, Al-Gareeb AI, El-Bouseary MM, AboKamer AM, Batiha GES, et al. Fenofibrate for COVID-19 and related complications as an approach to improve treatment outcomes: the missed key for Holy Grail. Inflamm Res. 2022;71(10–11):1159–67.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  46. SHAP GitHub Repository. https://github.com/shap/shap/pull/3319. Accessed 13 Feb 2024.

  47. Lau BHP, Tang CSK, Holroyd E, Wong WCW. Challenges and Implications for Menopausal Health and Help-Seeking Behaviors in Midlife Women From the United States and China in Light of the COVID-19 Pandemic: Web-Based Panel Surveys. JMIR Public Health Surveill. 2024;10:e46538.

    Article  PubMed  PubMed Central  Google Scholar 

  48. Mint S, Institute P. The Official Gazette of the Italian Republic: Approval of the National Statistical Program 2020-2022. Decree of the President of the Republic 9 March 2022. 2022. https://www.gazzettaufficiale.it/eli/gu/2022/05/26/122/so/20/sg/pdf. Accessed 27 May 2023.

  49. Established Legislative Decree no. 322/1989 concerning National Statistical System organization the Sistan includes: the National Institute of Statistics (ISTAT); public bodies and statistical information bodies (INEA, ISFOL); the statistical offices of the State administrations and other public bodies, of the Government Offices of the Government, of the Regions and Autonomous Provinces, of the Provinces, of the Chambers of Commerce (CCIAA), of the Municipalities, single or associated, and the statistics offices of other public and private institutions that perform public interest functions. https://www.sistan.it/index.php?id=422. Accessed 6 June 2023.

Download references

Acknowledgements

We would like to extend our heartfelt gratitude to all individuals in the Regional Public Health Observatory (SEPI), Grugliasco, the university-managed structure of the ASL TO3, who dedicated their support and assistance throughout this project. Their efforts in conducting epidemiological studies, research, and health promotion for the Region, health authorities, and local authorities of Piedmont have been instrumental. In particular, we would like to express our special appreciation to Alberto Catalano and Nicolas Zengarini for their unwavering support.

Funding

The authors declare that they did not receive any funds or grants for conducting this research or writing this manuscript.

Author information

Authors and Affiliations

Authors

Contributions

All authors were involved in the project conceptualization. D.B. formulated the methods, analyzed the data, and wrote the first draft which was subsequently revised by all authors in a significant manner. The submitted version has received approval from all authors. D.B. and F.R. were responsible for data curation and statistical analysis. M.G. assisted with the Machine Learning research. G.C. supervised the research work with F.R. and M.G. Additionally, F.R., M.G., G.C., and R.G. contributed to formulating the research question, interpreting results as well as reviewing and editing the manuscript.

Corresponding author

Correspondence to Dayana Benny.

Ethics declarations

Ethics approval and consent to participate

For this study, there is no need to obtain ethical approval or permits from the ethics committee. This research is part of the TLS\P (Turin\Piedmont Longitudinal Study), which is included in the National Statistical Program (Programma Statistico Nazionale, PSN), an initiative promoted by the National Institute of Statistics (Istituto Nazionale di Statistica, ISTAT) in Italy. It establishes guidelines for the production, collection, processing, and dissemination of official statistics in the country. For the authors to access the data of the PLS within the institution that is in charge of PLS, there is no need for informed consent according to the Presidential Decree published on the N. 20 of the Official Gazette of the Italian Republic N. 122 of May 26, 2022, “National Statistical Program”, that has approved the PSN [48]. So this study does not require informed consent from an ethical committee. All analyses were conducted in accordance with the World Medical Association’s Declaration of Helsinki. To safeguard privacy, the data used for analysis was de-identified.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Benny, D., Giacobini, M., Costa, G. et al. Multimorbidity in middle-aged women and COVID-19: binary data clustering for unsupervised binning of rare multimorbidity features and predictive modeling. BMC Med Res Methodol 24, 95 (2024). https://doi.org/10.1186/s12874-024-02200-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12874-024-02200-x

Keywords