Next Article in Journal
Primary Prevention of Type 2 Diabetes Mellitus in the European Union: A Systematic Review of Interventional Studies
Previous Article in Journal
Characterization of Beverage Viscosity Based on the International Dysphagia Diet Standardisation Initiative and Its Correspondence to the Japanese Dysphagia Diet 2021
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Tlalpan 2020 Case Study: Enhancing Uric Acid Level Prediction with Machine Learning Regression and Cross-Feature Selection

by
Guadalupe Gutiérrez-Esparza
1,2,*,†,
Mireya Martínez-García
3,†,
Manlio F. Márquez-Murillo
2,
Malinalli Brianza-Padilla
3,
Enrique Hernández-Lemus
4,5,* and
Luis M. Amezcua-Guerra
3,*
1
“Researcher for Mexico” Program under SECIHTI, Secretariat of Sciences, Humanities, Technology, and Innovation, Mexico City 08400, Mexico
2
Division of Diagnostic and Treatment Services, National Institute of Cardiology Ignacio Chávez, Mexico City 04510, Mexico
3
Department of Immunology, National Institute of Cardiology Ignacio Chávez, Mexico City 04510, Mexico
4
Computational Genomics Division, National Institute of Genomic Medicine, Mexico City 14610, Mexico
5
Center for Complexity Sciences, Universidad Nacional Autónoma de México, Mexico City 04510, Mexico
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Nutrients 2025, 17(6), 1052; https://doi.org/10.3390/nu17061052
Submission received: 11 February 2025 / Revised: 3 March 2025 / Accepted: 6 March 2025 / Published: 17 March 2025
(This article belongs to the Special Issue Precision Nutrition and Lifespan Health Outcomes)

Abstract

:
Background/Objectives: Uric acid is a key metabolic byproduct of purine degradation and plays a dual role in human health. At physiological levels, it acts as an antioxidant, protecting against oxidative stress. However, excessive uric acid can lead to hyperuricemia, contributing to conditions like gout, kidney stones, and cardiovascular diseases. Emerging evidence also links elevated uric acid levels with metabolic disorders, including hypertension and insulin resistance. Understanding its regulation is crucial for preventing associated health complications. Methods: This study, part of the Tlalpan 2020 project, aimed to predict uric acid levels using advanced machine learning algorithms. The dataset included clinical, anthropometric, lifestyle, and nutritional characteristics from a cohort in Mexico City. We applied Boosted Decision Trees (Boosted DTR), eXtreme Gradient Boosting (XGBoost), Categorical Boosting (CatBoost), and Shapley Additive Explanations (SHAP) to identify the most relevant variables associated with hyperuricemia. Feature engineering techniques improved model performance, evaluated using Mean Squared Error (MSE), Root-Mean-Square Error (RMSE), and the coefficient of determination (R2). Results: Our study showed that XGBoost had the highest accuracy for anthropometric and clinical predictors, while CatBoost was the most effective at identifying nutritional risk factors. Distinct predictive profiles were observed between men and women. In men, uric acid levels were primarily influenced by renal function markers, lipid profiles, and hereditary predisposition to hyperuricemia, particularly paternal gout and diabetes. Diets rich in processed meats, high-fructose foods, and sugary drinks showed stronger associations with elevated uric acid levels. In women, metabolic and cardiovascular markers, family history of metabolic disorders, and lifestyle factors such as passive smoking and sleep quality were the main contributors. Additionally, while carbohydrate intake was more strongly associated with uric acid levels in women, fructose and sugary beverages had a greater impact in men. To enhance model robustness, a cross-feature selection approach was applied, integrating top features from multiple models, which further improved predictive accuracy, particularly in gender-specific analyses. Conclusions: These findings provide insights into the metabolic, nutritional characteristics, and lifestyle determinants of uric acid levels, supporting targeted public health strategies for hyperuricemia prevention.

1. Introduction

Uric acid is a widely studied biomarker due to its association with various health conditions, including gout, hypertension, and cardiovascular diseases. When uric acid levels exceed the reference range in the blood, the condition is termed hyperuricemia (HU). This condition can be a prevalent metabolic disorder. HU not only increases the risk of developing gout but also serves as a significant risk factor for cardiovascular diseases, which are the leading cause of death in Mexico and worldwide. Monitoring uric acid levels is crucial because it allows for the early detection of HU, helping to prevent the onset of gout and reduce the risk of kidney stones and cardiovascular complications [1,2].
The application of machine learning techniques has significantly influenced the detection and identification of elevated uric acid levels. By analyzing large datasets containing clinical and biochemical parameters, machine learning models were able to predict the likelihood of hyperuricemia with greater accuracy than traditional methods [3,4].
In a study led by Sangwoo Lee et al. [5], key performance metrics were used to evaluate the effectiveness of various machine learning algorithms in predicting HU. The Naïve Bayes algorithm achieved the highest sensitivity at 0.73, making it the most sensitive in detecting elevated uric acid levels. The Random Forest also performed well, with a sensitivity of 0.66 and the highest Balanced Classification Rate at 0.68. Additionally, RFC demonstrated superior performance in overall prediction accuracy with an Area Under the Curve of 0.775, compared to 0.669 for Naive Bayes and 0.568 for logistic regression models. Likewise, in a study by Zeng et al. [6], a stacked multimodal machine learning model was developed to predict HU by integrating genetic and clinical data. The model achieved high accuracy, with an AUC of 0.859 in the training set, effectively stratifying individuals into high and low risk groups for gout and other metabolic disorders. Additionally, the study found that lifestyle changes could mitigate adverse outcomes in high-risk individuals.
Conversely, another study by Sampa et al. [7] aimed to develop a predictive model for blood uric acid levels using data from health checkups, nutritional information, and socio-demographic characteristics to apply machine learning regression algorithms, including Boosted DTR, Decision Forest Regression, Neural Network, Bayesian Linear Regression, and Linear Regression. Among these, the Boosted DTR model demonstrated the best performance, achieving a notably low RMSE of 0.03.
These studies, along with others in the field [8,9,10], underscore the potential of machine learning approaches in accurately predicting uric acid levels. This evidence justifies the application of machine learning for early intervention and cost-effective management of related health conditions. While classification algorithms are typically used to categorize patients into groups or classes, such as normal or elevated uric acid levels, regression algorithms are particularly useful when predicting the exact value of uric acid concentration. In the context of the Tlalpan 2020 project, an analysis was conducted to develop a predictive model for identifying elevated uric acid levels using machine learning regression algorithms, including Boosted DTR, XGBoost, CatBoost, and SHAP. The approach involves applying these algorithms to identify the most relevant features influencing uric acid levels. While previous research has demonstrated performance variations across different machine learning models in metabolic studies, this study adopted an exploratory approach to compare multiple algorithms and identify the most effective predictors of uric acid levels. Given the variability in machine learning model performance across different datasets and study populations, this study did not assume a predefined hypothesis regarding the superiority of any particular model. Instead, an empirical evaluation was conducted to determine which approach performed best under the conditions of the dataset used. After each algorithm generates its respective subset of important features, a cross-feature analysis was performed to combine the top features from each algorithm. This process aimed to enhance the model’s performance by leveraging the strengths of multiple feature sets, leading to more accurate predictions.

2. Materials and Methods

2.1. Data

This study used baseline data from the Tlalpan 2020 cohort at the National Institute of Cardiology Ignacio Chávez in Mexico City [11]. Although the Tlalpan 2020 cohort was designed as a longitudinal study, this analysis focused on baseline data, as it provided the most complete and consistent set of variables across participants. This cross-sectional approach allowed us to explore initial associations between uric acid levels, nutritional intake, and lifestyle factors before assessing long-term changes. The study was approved by the institution’s Bioethics Committee under code 13-802, and the research involved informed and consenting volunteers. The Tlalpan 2020 project was established to identify risk factors for hypertension and other cardiometabolic conditions. Participants, aged 20 to 50 years and clinically healthy at recruitment, have been followed biennially since 2014. The dataset includes clinical, anthropometric data, alcohol and tobacco use, physical activity, economic income, education, family health history, biomedical evaluations, sleep quality, and nutrient intake.
Sleep quality was measured using the MOS Sleep Scale [12], which evaluates sleep through 12 questions on interruptions, snoring, breathing difficulties, headaches on waking, overall sleep quality, and daytime drowsiness, and tracks total sleep hours over the previous four weeks. Clinical and anthropometric data, such as systolic and diastolic blood pressure (SBP and DBP), were collected following the procedure outlined in [13], with waist circumference, height, and weight measured according to ISAK guidelines [14]. Biochemical assessments were conducted using blood and urine samples to analyze various metabolic and lipid markers. Data on lifestyle factors, including smoking, alcohol intake, and physical activity, were gathered, with physical activity levels assessed using the International Physical Activity Questionnaire [15] and categorized as low, moderate, or high based on metabolic equivalent minutes per week. Educational attainment was recorded as primary, secondary, or tertiary (including postgraduate) levels, and economic income levels were segmented into low, medium, and high categories based on monthly income in Mexican pesos. Nutritional habits, including daily meal frequency and nutrient intake over the past year, were tracked and analyzed using the “Evaluation of Nutritional Habits and Nutrient Consumption System” software tool Version 2 [16].
All data mentioned in this section are presented in Table S1, which is available in Supplementary Materials, where the letter D stands for dichotomous and the letter C stands for continuous.

2.2. Methods

2.2.1. Machine Learning Approaches

We applied four machine learning algorithms in this study: XGBoost, Boosted DTR, CatBoost, and SHAP. XGBoost was developed by Tianqi Chen [17], while Boosted DTR was pioneered by Robert E. Schapire and Yoav Freund [18,19]. CatBoost was created by Yandex [20]. Finally, SHAP, introduced by Lundberg and Lee [21], was used for feature selection due to its proven effectiveness in diverse fields such as healthcare.
XGBoost is known for its speed and performance on large datasets, Boosted DTR combines multiple decision trees for a robust predictive model, CatBoost stands out for its remarkable efficiency and performance, particularly excelling in regression problems. SHAP is employed for feature selection due to its demonstrated effectiveness across diverse domains, such as healthcare [22]. It offers valuable insights into the contribution of each feature to the model’s predictions.

2.2.2. Feature and Cross-Feature Selection

Feature selection is crucial in machine learning for enhancing model efficiency and accuracy, particularly in regression algorithms. It helps identify key predictors, reduces overfitting, and improves computational efficiency. After identifying these key features, cross-feature selection can be employed to further refine the model by evaluating the interactions between features across multiple datasets or folds. This process evaluates the interactions between features from multiple datasets or models, which is essential for uncovering complex relationships between variables.
Although cross-feature selection offers a promising approach to uncovering complex interactions between variables in predictive models, its adoption remains relatively limited compared to more conventional methods. However, the cross-feature selection method has shown significant results in studies related to cancer and various diseases [23]. These investigations have demonstrated that this approach can enhance the accuracy of predictive models and facilitate the identification of complex interactions that other conventional methods might overlook.
In this study, cross-feature selection was applied as follows:
Feature subsets (in this case 3), F_1, F_2, and F_3, were derived from the three best performing models. The top 5 features from each subset were then selected for further analysis. Finally, the common features among F_1, F_2, and F_3 were identified to enhance the model’s robustness, as represented by the following equation:
F cross = { X 1 , i × X 2 , j × X 3 , k i , j , k { 1 , 2 , 3 , 4 , 5 } }
This approach ensured that the final model incorporated the most influential features from each of the top-performing models, improving its overall performance.
Overfitting was controlled by performing cross-validation and hyperparameter tuning to ensure model generalization. Additionally, feature selection was based on multiple algorithms (Boosted DTR, CatBoost, SHAP, and XGBoost), reducing irrelevant or redundant variables while preserving the most informative ones. Although some selected features may be intercorrelated, machine learning models such as XGBoost and CatBoost can capture non-linear relationships and interactions among predictors, which conventional statistical models may overlook.

2.2.3. Performance Measures

We used the metrics MSE, RMSE, and  R 2 , which are employed in regression machine learning algorithms, to assess model performance.
The MSE is calculated as the sum of the squares of the differences between the model predictions ( y ^ ) and the actual values (y), divided by the number of samples (n), expressed by the equation:
M S E = 1 n i = 1 n ( y i y ^ i ) 2
The RMSE, the square root of the MSE, is obtained by taking the square root of the MSE value, providing an error metric on the same scale as the original data, facilitating the interpretation of the prediction error.
On the other hand, R 2 is calculated as the proportion of variance explained by the model relative to the total variance of the data, represented by the equation:
R 2 = 1 i = 1 n ( y i y ^ i ) 2 i = 1 n ( y i y ¯ ) 2

2.3. Experimental Setup and Process

All experiments were performed using Python 3.11 and Jupyter Notebook version 7. Min–max scaling from the scikit-learn library [24] was used to normalize continuous variables, and dichotomous variables were represented as numbers.
The overall experimental process is illustrated in Figure 1. It began with the extraction of relevant variables, followed by data cleaning and normalization using the min–max method. Once the dataset was prepared, various models were executed, specifically XGBoost, Boosted DTR, SHAP, and CatBoost. During the training process, parameter tuning was performed to optimize the performance of each model. Subsequently, feature selection was applied to identify the most relevant variables for each algorithm, grouping them into specific subsets.
With the subsets defined, the performance of each algorithm was analyzed using the MSE, RMSE, and  R 2 metrics. To implement the cross-feature selection method, the five most important features from each subset were selected, considering the corresponding group and sex. These five variables were then combined using the XGBoost algorithm, which was chosen for its high performance in regression problems, computational efficiency, compatibility with SHAP, and control over overfitting.
After obtaining the cross-feature selection results and confirming that the metrics were higher than those of the other algorithms used, the most important variables from each subgroup were presented in a spiderweb graph.

3. Results

In this section, we present the results derived from applying Boosted DTR, CatBoost, SHAP, and XGBoost to the dataset, which was initially divided into the following groups: clinical, anthropometric, and lifestyle variables; food frequency questionnaire data; and nutritional and biochemical features obtained from the food frequency questionnaire. The results were segmented by sex, dividing the analysis between men and women. This separation is crucial to identify the factors that influence each group differently, considering sex as a variable that can modify the relationship between risk factors and health outcomes. This approach allowed for a more precise and nuanced understanding of how different factors specifically impact the health of men and women.

3.1. Clinical, Anthropometric, and Lifestyle Variables

Table 1 illustrates how the variables were identified and evaluated based on their relative importance in predicting health outcomes in women. Algorithms utilizing the variable importance metric, such as Boosted DTR and CatBoost, highlighted Body Mass Index (BMI), triglycerides, and creatinine as the most influential factors. On the other hand, SHAP and XGBoost used the mean absolute SHAP value to measure feature contribution, with BMI, triglycerides, and creatinine also standing out as key contributors. Moreover, the subset of features identified by XGBoost shows some unique differences compared to the other models. Variables such as passive smoking, having had a baby weighing more than 4 kg (BB4K), mother with diabetes, and snoring were highlighted by XGBoost as important factors. These features, particularly those related to lifestyle and family health history, suggest that XGBoost is capturing nuances in health outcomes that might be less prominent in the other models. This indicates that, in addition to clinical and anthropometric factors, elements of personal and familial health history play a significant role in predicting health outcomes in women, as identified by XGBoost.
For women, Table 2 shows the performance metrics obtained by each algorithm (CatBoost, Boosted DTR, SHAP, and XGBoost), when applied to the subset of Clinical, Anthropometric, and Lifestyle Features. Each algorithm identifies different sets of important features, and these features were used to evaluate model performance through metrics such as MSE, RMSE, and  R 2 .
Based on the performance metrics, the top three algorithms for predicting uric acid levels in women were XGBoost, SHAP, and CatBoost. XGBoost stood out as the best performer with the lowest MSE (0.0079) and RMSE (0.0890), and the highest R 2 value (0.3170), indicating both superior predictive accuracy and the ability to explain the most variance in the data. SHAP followed closely, with strong predictive accuracy reflected in its low MSE (0.0068) and RMSE (0.0824), although its R 2 (0.1688) was slightly lower, meaning it explained less variance compared to XGBoost. CatBoost, while having the lowest MSE (0.0063) and RMSE (0.0793), ranked third overall due to its R 2 value of 0.2315, placing it between XGBoost and SHAP in terms of variance explanation. Boosted DTR performed reasonably well, with an MSE of 0.0087 and an RMSE of 0.0930, indicating it was slightly less accurate than XGBoost, SHAP, and CatBoost.
In the case of men, Table 3 illustrates a similar approach highlighting BMI, waist circumference, creatinine, atherogenic index, triglycerides, and being a daily smoker as the most critical factors. However, SHAP and XGBoost revealed additional nuances in the subset of features important for men’s health. For instance, XGBoost identified passive smoking, father with gout, mother with diabetes, and alcoholic beverages such as whiskey and cognac consumption as significant contributors. Moreover, the presence of high cholesterol and the type of health insurance (IMSS) were also emphasized. These findings suggest that, similar to women, a mix of clinical, anthropometric, and lifestyle factors plays a vital role in determining health outcomes in men. Yet, XGBoost’s ability to capture lifestyle and family health history nuances offers a deeper understanding of how these elements uniquely impact men’s health outcomes.
In terms of performance metrics (see Table 4), the top three algorithms based on performance metrics were XGBoost, Boosted DTR, and SHAP. XGBoost led with the highest R 2 value of 0.1996, although it had a slightly higher MSE (0.0137) and RMSE (0.1072) compared to the other models. Boosted DTR followed closely with a lower MSE (0.0111) and RMSE (0.1054), and an R 2 of 0.1994. SHAP was very similar to Boosted DTR, with identical MSE and RMSE values but a slightly lower R 2 of 0.1987.

3.2. Food Frequency Questionnaire Features

Table 5 presents the subset of features derived from the food frequency questionnaire for men. In this case, the Boosted DTR algorithm highlighted foods and beverages that could have a significant impact on uric acid levels.
In the case of CatBoost, medium-sized cola was again highlighted, along with corn tortilla and a portion of pork. Additionally, chocolate powder, white sliced bread, atole with milk, and a bowl of oatmeal were emphasized as key elements in the diet that could contribute to increased uric acid levels.
The SHAP analysis also underscored the importance of a medium-sized cola and a cup of atole with milk. It is interesting to note that banana consistently appeared in all three algorithms. Although generally considered healthy, this fruit is rich in fructose, which could justify its appearance as a predictor in these models, given that fructose can contribute to increased uric acid levels. Additionally, SHAP highlights foods similar to those identified by other algorithms such as margarine, a portion of pork, chorizo, and sweet bread, which are integral parts of the diet and may influence uric acid levels.
Table 6 presents the performance metrics, where Boosted DTR and CatBoost showed very similar performance, both with an MSE of 0.0111 and RMSE values of 0.1051 and 0.1052, respectively. Boosted DTR had a slightly higher R 2 value (0.0767) compared to CatBoost (0.0763), indicating that it explained marginally more variance, making it the better of the two. SHAP outperformed both in terms of predictive accuracy, as evidenced by its lower MSE (0.0083) and RMSE (0.0913). However, SHAP’s R 2 value was significantly lower at 0.0187, suggesting it explained much less variance in the data, potentially indicating that while SHAP is good at making accurate predictions, it may not capture the underlying patterns as effectively as the other models.
Concerning women, several nutritional risk factors were associated with elevated uric acid levels. A medium-sized cola was particularly concerning due to its high sugar content. Hard liquor, such as rum, brandy, or tequila, was identified as a risk factor for increasing uric acid levels. Carnitas, a dish high in purines due to its pork content, was another noteworthy risk factor. Rice dishes, particularly those with a high glycemic index, can elevate blood glucose levels, potentially impacting uric acid metabolism negatively.
Sugary drinks, like sodas and other sweetened beverages, were also flagged as a concern. Butter is traditionally considered beneficial due to its healthy fats; however, when consumed in combination with high-carbohydrate foods or if sourced from less healthy origins, it can contribute to inflammation and exacerbate uric acid levels. The consumption of safflower oil, which is high in omega-6 fatty acids, could be problematic if consumed in excess, as it may promote inflammation, a factor associated with higher uric acid levels. Lastly, wheat tortillas were identified as a risk factor for increased uric acid levels.
Table 7 shows the performance metrics for CatBoost, Boosted DTR, and SHAP on the food frequency questionnaire features for women. CatBoost and Boosted DTR performed similarly, both with an MSE of 0.0111 and RMSE around 0.105, and their R 2 values were close, with Boosted DTR slightly ahead. SHAP had a lower MSE (0.0083) and RMSE (0.0913), indicating better accuracy, but its R 2 was much lower (0.0187), meaning it explained less variance in the data. Overall, CatBoost and Boosted DTR offered a better balance between accuracy and variance explanation.

3.3. Nutritional and Biochemical Features

Table 8 presents a subset of nutritional and biochemical features identified in both women and men, using only the CatBoost and SHAP algorithms. These algorithms were chosen due to their outstanding performance with this dataset.
For women, Table 8 shows that CatBoost highlighted glucose as the most important feature, followed by carbohydrates and alcohol. Other important features included maltose, fructose, and cholesterol, which further emphasized the metabolic and nutritional components potentially affecting uric acid levels. SHAP also prioritized glucose, consistent with CatBoost, and additionally underscored the significance of beta-tocopherol and beta-carotene. Alcohol and cholesterol were also highlighted by SHAP, reinforcing the importance of nutritional and lifestyle factors.
Regarding the metrics obtained by the nutrient algorithms in women, SHAP stood out with the lowest error metrics (MSE of 0.0077 and RMSE of 0.0880), indicating it was the most accurate model. However, CatBoost had a higher R 2 value of 0.1139, suggesting it explained more variance in the data. While SHAP was more accurate in its predictions, CatBoost provided a broader understanding of the data variance, making it a strong contender for modeling nutritional and biochemical features in women.
In the case of men, Table 8 shows that CatBoost identified fructose as the most influential feature, followed closely by maltose and glucose. Additional significant features included carbohydrates, lactose, and alcohol, indicating that a combination of sugars and alcohol consumption may be pivotal in understanding men’s uric acid metabolism.
SHAP similarly highlighted fructose and glucose, both sugars strongly linked to increased uric acid levels. Additionally, it emphasized cholesterol, whose association with lipids and cardiovascular health may indicate a connection with HU. Lactose and carbohydrates were also key features identified by SHAP. Additionally, maltose was highlighted, further emphasizing the role of specific sugars in influencing uric acid levels.
Based on Table 9 for men, the SHAP model demonstrated a better ability to explain the variance in the data with an R 2 of 0.1345, despite having slightly higher error metrics (MSE of 0.0135 and RMSE of 0.1160) compared to CatBoost. CatBoost, with an R 2 of 0.0654, showed a lower capacity to explain the variance, but it had slightly better error metrics (MSE of 0.0130 and RMSE of 0.1139). Overall, SHAP provided a better understanding of the underlying data patterns, while CatBoost offered marginally better accuracy in predictions.

3.4. Results of Cross-Feature Selection

Once the feature subsets were obtained from the XGBoost, CatBoost, Boosted DTR, and SHAP models, it was observed that some models had similar metric results. In the case of the anthropometric variables group for both men and women, XGBoost identified different variables compared to Boosted DTR, CatBoost, and SHAP, which captured more variables related to lifestyle, habits, and family medical history. For women, in Table 2, XGBoost stood out as the best algorithm, showing superior metrics in terms of precision and data variability. However, the subset of features selected by XGBoost (see Table 1) excluded important variables such as triglycerides, creatinine, weight, the atherogenic index, and other potentially significant variables. For this reason, the cross-feature selection method was applied, considering the top five variables from each subset obtained by each algorithm in each group, segmented by sex.
For women, the clinical, anthropometric, and lifestyle variables group was analyzed using the CatBoost, SHAP, and XGBoost algorithms, as they demonstrated the highest performance. After removing duplicate features, the top 10 unique variables identified were triglycerides, BMI, creatinine, atherogenic index, urinary sodium, mother with diabetes, passive smoker, baby birth weight over 4 kg, snoring, and glucose. Similarly, for men, the same algorithms were selected based on their performance, and the top features identified were creatinine, BMI, atherogenic index, triglycerides, urinary sodium, father with diabetes, passive smoker, father with gout, mother with diabetes, and weight.
In the food frequency group, data for women were analyzed using the Boosted DTR, CatBoost, and SHAP algorithms, as they demonstrated the highest performance. The top five variables identified were a medium cola soda, a teaspoon of butter, a drink (rum, brandy, or tequila), a teaspoon of hot sauce or chili, a portion of carnitas, a glass of sugary flavored water, a cup of coffee without sugar, a teaspoon of margarine, a bowl with rice, and safflower oil. Likewise, the essential features identified for men were a medium cola soda, a corn, safflower oil, a teaspoon of margarine, corn oil, a banana, a portion of pork, a teaspoon of chocolate powder, a cup of atole with milk, and chicken egg.
The nutritional and biochemical features for women were analyzed using the CatBoost and SHAP algorithms, which showed the best results (see Table 8). The top five variables identified included glucose, carbohydrates, alcohol, fructose, maltose, total cholesterol, starch, and beta cryptoxanthin. Similarly, the essential features identified for men were fructose, maltose, glucose, carbohydrates, lactose, total cholesterol, alcohol, and beta cryptoxanthin.
Table 10 presents the performance metrics (MSE, RMSE, and  R 2 ) for the cross-feature method, applied using XGBoost to the clinical, anthropometric, lifestyle, food frequency questionnaire, and nutritional and biochemical subsets across both sexes. By combining the top five features from each subgroup, this method consistently outperformed individual algorithms, demonstrating superior predictive performance across all metrics and groups.
To effectively present the features used in the cross-feature selection for each group and sex, radar charts were created (see Figure 2, Figure 3 and Figure 4). Given that the scale of the importance method used by Boosted DTR and CatBoost differed from the MASV method applied by SHAP and XGBoost, it was necessary to implement a series of normalization steps. The min–max normalization technique was applied to scale the importance values within a range of [0, 1], adjusting the variables to a common scale. This ensured that the importance assigned by each algorithm was reflected in a coherent and comparable manner. After normalization, the data for each gender were merged, and the mean of the normalized values was calculated to obtain a representative importance score for each variable.
To further evaluate the stability of the cross-feature selection method, we performed a sensitivity analysis varying max_iter, max_depth, and l2_regularization. Our original analysis was conducted using XGBoost, CatBoost, and Boosted DTR; however, to further validate the robustness of our approach, we applied HistGradientBoostingRegressor for this sensitivity analysis. This method was selected due to its efficiency in handling structured tabular data and its ability to assess model stability under different hyperparameter settings. The results (Figure 5 and Figure 6) confirm that increasing max_iter did not significantly improve predictive performance. Additionally, deeper models tended to perform worse, likely due to overfitting and increased variance, which reduced generalization. These findings suggest that the cross-feature selection method maintained stable performance across different hyperparameter configurations, indicating robustness. The complete numerical results of the sensitivity analysis are provided in Supplementary Materials (Table S2).

4. Discussion

This study offers a comprehensive examination of the factors influencing uric acid levels in the Tlalpan 2020 cohort, with a particular focus on gender-specific differences. In this regard, it is relevant to notice that women constituted a smaller proportion of the cohort, which likely reduced the variability in their data, leading to more accurate predictions. Additionally, the predictors for women might not have carried as much weight, as some variables may not have been as representative or did not capture the full variability in the cohort. This could have resulted in more stable model performance but with a lesser predictive impact. To further improve the algorithms, it would be crucial to continue collecting more data, which could enhance the representation of key variables and ultimately improve the models’ predictive power. Utilizing machine learning models, including Boosted DTR, XGBoost, CatBoost, and SHAP, we identified critical variables across clinical, anthropometric, lifestyle, and nutritional domains. Additionally, the cross-feature selection method was employed to refine the model further by combining the top features identified by each algorithm. To effectively analyze and compare these variables, spiderweb charts were used, providing a clear visualization of the interactions between variables and enhancing the understanding of the predictive factors across different groups.
The degree of bias in cohort populations when generalizing the results observed in the Tlalpan 2020 study depends on several factors, particularly the representativeness of the participants relative to the general population. One key limitation is the age restriction, as all participants were younger than 50 years at baseline, which may prevent the findings from being extrapolated to older populations where the relationship between uric acid and health outcomes differs, such as the observed uric acid paradox in the elderly. Additionally, geographical and socioeconomic factors play a role, as the cohort consisted of residents of Mexico City, potentially limiting the applicability of the results to populations with different nutritional habits, genetic backgrounds, and environmental exposures. Selection bias is another concern, as individuals who chose to participate may have had distinct health statuses, lifestyles, or access to healthcare, making them non-representative of the broader population at risk of hyperuricemia-related conditions. To mitigate these biases, sensitivity analyses, external validation in diverse populations, and age-stratified modeling approaches may enhance the robustness and applicability of the findings.

4.1. Key Clinical, Anthropometric and Lifestyle Predictors

Figure 2 highlighted the different health, hereditary, and lifestyle factors contributing to elevated uric acid levels in men and women.
In men, BMI was a critical factor, indicating that higher body weight and obesity are closely linked to elevated uric acid levels, likely due to insulin resistance impairing uric acid excretion. Age was another important factor, with older men showing a higher risk of elevated uric acid levels due to declining renal function and increased comorbidities. Elevated creatinine, a marker of kidney function, suggested that impaired renal function was a key contributor to HU in men. Alcohol consumption, as indicated by the cognac factor, was notably associated with uric acid levels. Additionally, a hereditary factor such as having a father with gout was significant, highlighting a genetic predisposition to HU. These factors together suggest that managing weight, addressing metabolic health, moderating alcohol intake, and considering hereditary risk are vital strategies for controlling uric acid levels in men.
In women, BMI was a significant factor, emphasizing the role of obesity in the development of HU. Snoring also emerged as important, with poor sleep linked to increased stress and inflammation, both of which can elevate uric acid levels. Additionally, the atherogenic index was significant, as it reflected the relationship between lipid profiles and cardiovascular risk, with a higher index being associated with increased uric acid levels and a greater risk of cardiovascular disease. High cholesterol further complicates the picture, as dyslipidemia is associated with higher uric acid levels and cardiovascular risks. Hereditary factors also played a role, with a mother’s diabetes and a father’s diabetes both contributing to a genetic predisposition to metabolic conditions that may elevate uric acid levels. Finally, exposure to passive smoking was a significant lifestyle factor, as it could increase oxidative stress and inflammation, potentially exacerbating uric acid levels.

4.2. Food Frequency Questionnaires Factors

Figure 3 revealed significant nutritional patterns among men and women, highlighting specific food items strongly associated with the risk of elevated uric acid levels.
Specifically, the consumption of medium-sized cola in men and women was a significant nutritional factor influencing uric acid levels, aligning with existing evidence linking sugary beverages, particularly those high in fructose, to elevated uric acid [25,26]. Fructose metabolism in the liver is crucial in uric acid production, and frequent consumption of such beverages could exacerbate HU.
Figure 3 identified several other nutritional factors that were particularly relevant in men, including the consumption of corn tortillas, corn, pork, and tamales. Corn and corn-based products, such as tortillas, are staples in many diets but are high glycemic index foods, which can lead to rapid spikes in blood glucose and exacerbate insulin resistance, thereby reducing the body’s ability to effectively excrete uric acid. Pork, being rich in purines, directly contributes to increased uric acid levels, raising the risk of gout and related conditions. Tamales, which combine high glycemic corn masa and purine rich pork, represent a potent nutritional source of elevated uric acid levels [27], further compounded by the use of fats like lard in their preparation. These factors suggest that men who frequently consume these traditional foods might benefit from nutritional modifications, such as reducing the intake of high-purine and high-glycemic index foods and incorporating more low-glycemic vegetables, fruits, and lean proteins to manage uric acid levels effectively.
In women, several other nutritional factors identified were a teaspoon of butter, a portion of carnitas, and rice dishes, which are associated with elevated uric acid levels. Butter, while rich in beneficial fats and potentially healthful when consumed in moderation, can contribute to increased uric acid levels, especially when frequently combined with high-carbohydrate foods like rice [28]. Additionally, carnitas, a dish high in purines due to its pork content, directly contributes to uric acid production [27]. Therefore, while foods like butter may offer health benefits, their consumption alongside carbohydrate-heavy foods should be moderated to prevent exacerbating uric acid levels.

4.3. Nutritional and Biochemical Factors

This study provided an analysis of the nutritional and biochemical factors influencing uric acid levels, with a particular focus on gender differences. The findings revealed that while some factors, such as glucose and cholesterol, were common between men and women, others exhibited gender-specific influences, suggesting the need for personalized approaches in the prevention and management of HU.
Fructose was identified as a key factor in men, aligning with the existing literature that links high fructose consumption with increased uric acid production [29,30,31]. Through its metabolism in the liver, fructose leads to the generation of urate, thereby exacerbating uric acid levels in the blood. It is important to note, however, that the impact of fructose on uric acid levels can vary significantly depending on the source and type of fructose consumed. For instance, fructose found in whole fruits is accompanied by fiber, vitamins, and antioxidants, which may mitigate some of its negative effects. In contrast, the fructose in processed foods, such as commercial baked goods, is often present in a more concentrated form and combined with other refined sugars, leading to a more pronounced increase in glucose and urate levels.
In addition to fructose, maltose and lactose also emerged as notable risk factors, specifically in men. Maltose, commonly found in malted products and certain grains, contributes to uric acid elevation through mechanisms similar to those of fructose, by promoting rapid glucose spikes and potentially exacerbating insulin resistance, which can impair uric acid excretion. Similarly, lactose, primarily found in dairy products, was identified as a significant factor, suggesting that men who consume high amounts of dairy may also be at increased risk of elevated uric acid levels.
Understanding the type of fructose consumed by the population, whether simple or complex, is crucial for tailoring nutritional recommendations. Moreover, it is essential to educate the population about the maximum recommended intake of fructose, particularly from added sugars, which should ideally be limited to no more than 10% of daily caloric intake [32] according the World Health Organization. This distinction underscores the importance of not only reducing overall fructose intake but also making informed choices about the sources of fructose, which can significantly influence the risk of developing HU.
Cholesterol was another significant factor in men, consistent with studies in the literature [33,34] that suggest a complex interaction between lipid metabolism and uric acid. Elevated cholesterol levels can contribute to systemic inflammation and oxidative stress, both of which are linked to increased uric acid levels. This finding highlights the need to integrate cholesterol management as part of a broader approach to controlling HU in the male population.
In contrast, carbohydrates and glucose emerged as an influential factor in women. This observation is supported by studies in the literature that have demonstrated a strong connection between high carbohydrate intake, particularly from foods with a high glycemic index, and elevated blood glucose levels [35,36]. Increased glucose levels can lead to insulin resistance, a condition that diminishes the kidneys’ capacity to excrete uric acid efficiently. Research indicates that diets high in high glycemic carbohydrates not only cause significant blood glucose spikes but also aggravate conditions such as metabolic syndrome, which is closely associated with HU [37]. These findings highlight the critical role of glycemic control in nutritional interventions aimed at managing uric acid levels, particularly in women who may be more vulnerable to these metabolic effects [38].
Additionally, it is observed that women consume foods containing beta-tocopherol and beta-carotene, which are antioxidants known for their protective role against oxidative stress [39,40], a factor that contributes to the accumulation of uric acid. Vitamin E, particularly in its various forms including beta-tocopherol, and beta-carotene, as a precursor to vitamin A, also function as antioxidants. However, as seen in Figure 4, the intake of these antioxidants was relatively low. This suggests that although women are including these nutrients in their diet, their consumption may not be sufficient to fully counteract the negative effects of a high carbohydrate intake on uric acid levels.
While machine learning models such as XGBoost and CatBoost improve predictive accuracy, their complexity can limit interpretability. To address this, we leveraged SHAP values to quantify feature importance and enhance model transparency. In this study, we applied SHAP to identify relationships among the most relevant variables and explore sex-specific differences. Additionally, we generated dependency plots and clustering-based SHAP analyses to visualize distinct risk patterns, strengthening the interpretation of our results.

5. Conclusions

This study, framed within the Tlalpan 2020 project, demonstrated the effectiveness of using machine learning models to predict uric acid levels in a diverse cohort from Mexico City. Through the implementation of algorithms such as Boosted DTR, XGBoost, CatBoost, and SHAP, key variables were identified across different categories, including clinical, anthropometric, lifestyle, and nutritional characteristics.
The findings highlighted that XGBoost was particularly effective in identifying critical factors in the anthropometric and clinical variables, while CatBoost excelled in analyzing the food frequency questionnaire, and SHAP provided detailed insights into the complex interactions between nutrients and uric acid levels. These tools not only improved predictive accuracy but also enhanced our understanding of the factors contributing to HU.
Furthermore, the application of the cross-feature selection method, in combination with spiderweb charts for visualization, proved crucial in refining the model and ensuring that the most significant variables were consistently identified and compared across different groups and genders. This approach facilitated a more nuanced analysis of the interactions between variables, highlighting the importance of gender-specific risk factors and nutritional patterns in managing uric acid levels.
The use of feature engineering techniques resulted in significant improvements in performance metrics, validating the importance of careful variable selection in predictive modeling. Moreover, the findings underscore the potential of machine learning models not just for prediction but also for uncovering complex relationships within large datasets, offering insights that could inform targeted interventions.
While the implementation of public health policies is beyond the scope of this study, our findings provide insights that could support future initiatives focused on early detection and prevention of hyperuricemia. Additionally, efforts are being considered to develop predictive models that enhance risk assessment and aid in data-driven decision-making.
This integrated approach, which considers gender differences and demographic factors, provides a strong foundation for future research and the development of personalized interventions. Ultimately, this work contributes significantly to the understanding of hyperuricemia and its public health implications. It also sets a precedent for the application of machine learning techniques in data analysis. The study also suggests practical pathways for the integration of data analytics into public health strategies, particularly in the prevention and management of conditions related to hyperuricemia.
The public health implications of the study could be further strengthened by specifying how the predictive modeling of uric acid levels can inform targeted interventions and policy recommendations. For instance, if machine learning models accurately identify nutritional and metabolic predictors of hyperuricemia, these insights could be used to develop personalized nutritional guidelines or community-based prevention programs aimed at reducing the burden of related conditions such as gout, kidney disease, and cardiometabolic disorders. Additionally, integrating these predictive tools into clinical practice could help healthcare professionals identify at-risk individuals earlier and implement lifestyle modifications before the onset of complications. Policymakers could also leverage these findings to design educational campaigns or refine nutritional recommendations tailored to specific demographic groups. By explicitly outlining these applications, the authors could provide a clearer connection between their findings and actionable public health strategies.
The results of this study could have valuable applications in clinical settings, particularly in cardiology clinics, where hyperuricemia is increasingly recognized as a potential risk factor for cardiovascular disease. If machine learning models can accurately predict uric acid levels based on metabolic and nutritional factors, clinicians could integrate these tools into routine assessments to identify patients at higher risk of developing conditions such as hypertension, atherosclerosis, or heart failure. This predictive capability would allow for earlier interventions, including lifestyle modifications, nutritional counseling, and, when necessary, pharmacological strategies to manage uric acid levels proactively. Incorporating these findings into risk models could improve personalized treatment by tailoring recommendations to individual metabolic profiles. By bridging predictive analytics with clinical decision-making, this research has the potential to improve preventive care and optimize cardiovascular risk management.

Limitations

As every scientific research piece, the present work has some limitations; we can mention the following:
  • Cohort-specific limitations: The study was based on data from the Tlalpan 2020 cohort, which represents a specific geographic and demographic group (Mexico City). The findings may not be generalizable to populations with different ethnic, socioeconomic, or geographic characteristics. A broader dataset might provide more generalizable results.
  • Since the baseline participants of the Tlalpan 2020 cohort were younger than 50 years of age, the potential protective effect of uric acid observed in elderly populations (the uric acid paradox) might not be evident. Additionally, the non-linear relationship between uric acid and mortality within the 200–300 μmol/L range suggests that small variations in uric acid levels could have different health implications depending on the age and metabolic context of the population. This age-related effect should be considered when interpreting the predictive modeling outcomes, as the relationships observed in younger adults may not extrapolate directly to older populations.
  • Potential bias in self-reported data: some data, such as lifestyle habits and nutritional intake from the food frequency questionnaire, are self-reported, which can introduce recall bias or under-reporting.
  • Limited long-term data: This study focused on a snapshot of uric acid levels rather than on long-term changes. Uric acid concentrations can fluctuate daily and seasonally due to physiological and environmental factors; however, these variations were not captured in our cross-sectional analysis using baseline data. Additionally, individuals with a genetic predisposition to hyperuricemia might experience different fluctuation patterns, but this aspect was not assessed in our dataset.
  • Limited exploration of confounding factors: while gender and lifestyle factors were considered, other confounders, such as genetic predispositions or concurrent medication use, might also impact uric acid levels and should be more thoroughly explored.
  • Algorithm-specific limitations: Each machine learning algorithm has its limitations in terms of predictive accuracy and interpretability. For instance, models like CatBoost and XGBoost are powerful but complex, making it harder to interpret the relationships between features and outcomes. These limitations may hinder the clinical applicability of the findings.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/nu17061052/s1, Table S1. Dataset variables. Table S2. Performance metrics of the Cross-Feature Selection method for men and women.

Author Contributions

L.M.A.-G.: investigation, project administration, supervision, writing—review and editing; M.F.M.-M.: investigation, project administration, writing—review and editing; M.M.-G.: investigation, supervision, data curation, writing—review and editing; M.B.-P.: investigation, project administration, writing—review and editing; E.H.-L.: investigation, supervision, project administration, supervision, writing—review and editing, G.G.-E.: conceptualization, data curation, investigation, software, validation, writing—original draft, writing—review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the National Council of Humanities, Sciences, and Technologies (CONAHCYT, México), Cátedras CONAHCYT 1591.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki, and approved by the Bioethics Committee of the National Institute of Cardiology “Ignacio Chávez” in Mexico City (protocol ID 13-802 and date of approval 19 February 2013).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding authors due to the ethical reasons giving the sensitive nature of some of the data.

Acknowledgments

We want to extend our appreciation to Secretaría de Ciencia, Humanidades, Tecnología e Innovación (The Secretariat of Science, Humanities, Technology, and Innovation) under the ’Investigadores por México’ program, No. 7186. The authors gratefully acknowledge Maite Vallejo and the Tlalpan 2020 project advisory group for their logistic support in this work.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. INEGI. Estadística de Defunciones Registradas de Enero a Junio de 2021; INEGI: Aguascalientes, Mexico, 2022.
  2. American College of Cardiology. Advancing Cardiovascular Health in Mexico: Roundtable Report; American College of Cardiology: Washington, DC, USA, 2022. [Google Scholar]
  3. Brikman, S.; Serfaty, L.; Abuhasira, R.; Schlesinger, N.; Bieber, A.; Rappoport, N. A machine learning-based prediction model for gout in hyperuricemics: A nationwide cohort study. Rheumatology 2024, 63, 2411–2417. [Google Scholar] [CrossRef] [PubMed]
  4. Nayan, N.A.; Ab Hamid, H.; Suboh, M.Z.; Aminaldin, N.M.; Azizul, N.I.M.; Nizar, M.N.M. Machine learning application for classifying serum uric acid level with photoplethysmogram. In Proceedings of the 2020 IEEE-EMBS Conference on Biomedical Engineering and Sciences (IECBES), Langkawi Island, Malaysia, 1–3 March 2021; pp. 522–527. [Google Scholar]
  5. Lee, S.; Choe, E.K.; Park, B. Exploration of machine learning for hyperuricemia prediction models based on basic health checkup tests. J. Clin. Med. 2019, 8, 172. [Google Scholar] [CrossRef]
  6. Zeng, L.; Ma, P.; Li, Z.; Liang, S.; Wu, C.; Hong, C.; Li, Y.; Cui, H.; Li, R.; Wang, J.; et al. Multimodal Machine Learning-Based Marker Enables Early Detection and Prognosis Prediction for Hyperuricemia. Adv. Sci. 2024, 11, 2404047. [Google Scholar] [CrossRef]
  7. Sampa, M.B.; Hossain, M.N.; Hoque, M.R.; Islam, R.; Yokota, F.; Nishikitani, M.; Ahmed, A. Blood uric acid prediction with machine learning: Model development and performance comparison. JMIR Med. Inform. 2020, 8, e18331. [Google Scholar] [CrossRef] [PubMed]
  8. Gao, Y.; Jia, S.; Huang, C.; Meng, Z.; Yu, M.; Xu, T.; Liu, M.; Sun, J.; Jia, Q.; Zhang, Q.; et al. Risk factors of hyperuricemia calculated by random forest machine learning. Res. Sq. 2020, 1–20. [Google Scholar]
  9. Shi, J.C.; Chen, X.H.; Yang, Q.; Wang, C.M.; Huang, Q.; Shen, Y.M.; Yu, J. A simple prediction model of hyperuricemia for use in a rural setting. Sci. Rep. 2021, 11, 23300. [Google Scholar] [CrossRef]
  10. Zhang, Y.; Zhang, L.; Lv, H.; Zhang, G. Ensemble machine learning prediction of hyperuricemia based on a prospective health checkup population. Front. Physiol. 2024, 15, 1357404. [Google Scholar] [CrossRef]
  11. Colín-Ramírez, E.; Rivera-Mancía, S.; Infante-Vázquez, O.; Cartas-Rosado, R.; Vargas-Barrón, J.; Madero, M.; Vallejo, M. Protocol for a prospective longitudinal study of risk factors for hypertension incidence in a Mexico City population: The Tlalpan 2020 cohort. BMJ Open 2017, 7, e016773. [Google Scholar] [CrossRef]
  12. Stewart, A.L.; Ware, J.E. Measuring Functioning and Well-Being: The Medical Outcomes Study Approach; Duke University Press: Durham, NC, USA, 1992. [Google Scholar]
  13. Chobanian, A.V.; Bakris, G.L.; Black, H.R.; Cushman, W.C.; Green, L.A.; Izzo Jr, J.L.; Jones, D.W.; Materson, B.J.; Oparil, S.; Wright Jr, J.T.; et al. Seventh report of the joint national committee on prevention, detection, evaluation, and treatment of high blood pressure. Hypertension 2003, 42, 1206–1252. [Google Scholar] [CrossRef]
  14. Marfell-Jones, M.J.; Stewart, A.; De Ridder, J. International Standards for Anthropometric Assessment. 2012. Available online: https://www.researchgate.net/publication/236891109_International_Standards_for_Anthropometric_Assessment (accessed on 10 February 2025).
  15. Craig, C.L.; Marshall, A.L.; Sjöström, M.; Bauman, A.E.; Booth, M.L.; Ainsworth, B.E.; Pratt, M.; Ekelund, U.; Yngve, A.; Sallis, J.F.; et al. International physical activity questionnaire: 12-country reliability and validity. Med. Sci. Sport. Exerc. 2003, 35, 1381–1395. [Google Scholar] [CrossRef]
  16. Hernández-Avila, J.; González-Avilés, L.; Rosales-Mendoza, E. Manual de Usuario. SNUT Sistema de Evaluación de Hábitos Nutricionales y Consumo de Nutrimentos; Instituto Nacional de Salud Pública: Cuernavaca, Mexico, 2003. [Google Scholar]
  17. Chen, T.; He, T.; Benesty, M.; Khotilovich, V.; Tang, Y.; Cho, H.; Chen, K.; Mitchell, R.; Cano, I.; Zhou, T.; et al. Xgboost: Extreme Gradient Boosting. R Package Version 0.4-2. 2015, pp. 1–4. Available online: https://cran.ms.unimelb.edu.au/web/packages/xgboost/vignettes/xgboost.pdf (accessed on 10 February 2025).
  18. Freund, Y.; Schapire, R.E. Experiments with a new boosting algorithm. In Proceedings of the 13th International Conference on Machine Learning (ICML), Bari, Italy, 3–6 July 1996; Volume 96, pp. 148–156. [Google Scholar]
  19. Schapire, R.E.; Singer, Y. Improved boosting algorithms using confidence-rated predictions. In Proceedings of the Eleventh Annual Conference on Computational Learning Theory, Madison, WI, USA, 24–26 July 1998; pp. 80–91. [Google Scholar]
  20. Prokhorenkova, L.; Gusev, G.; Vorobev, A.; Dorogush, A.V.; Gulin, A. CatBoost: Unbiased boosting with categorical features. In Proceedings of the NeurIPS 2018, Montreal, QC, Canada, 2–8 December 2018; Volume 31. [Google Scholar]
  21. Lundberg, S.M.; Lee, S.I. A unified approach to interpreting model predictions. In Proceedings of the NeurIPS 2018, Long Beach, CA, USA., 4–9 December 2017; Volume 30. [Google Scholar]
  22. Shaon, M.S.H.; Karim, T.; Shakil, M.S.; Hasan, M.Z. A Comparative Study of Machine Learning Models with LASSO and SHAP Feature Selection for Breast Cancer Prediction. Healthc. Anal. 2024, 6, 100353. [Google Scholar] [CrossRef]
  23. Gómez, O.V.; Herraiz, J.L.; Udías, J.M.; Haug, A.; Papp, L.; Cioni, D.; Neri, E. Analysis of cross-combinations of feature selection and machine-learning classification methods based on [18F] F-FDG PET/CT radiomic features for metabolic response prediction of metastatic breast cancer lesions. Cancers 2022, 14, 2922. [Google Scholar] [CrossRef] [PubMed]
  24. Kramer, O.; Kramer, O. Scikit-learn. In Machine Learning for Evolution Strategies; O’Reilly Media: Sebastopol, CA, USA, 2016; pp. 45–53. [Google Scholar]
  25. Meneses-León, J.; León-Maldonado, L.; Macías, N.; Torres-Ibarra, L.; Hernández-López, R.; Rivera-Paredez, B.; Flores, M.; Flores, Y.N.; Barrientos-Gutiérrez, T.; Quezada-Sánchez, A.D.; et al. Sugar-sweetened beverage consumption and risk of hyperuricemia: A longitudinal analysis of the Health Workers Cohort Study participants in Mexico. Am. J. Clin. Nutr. 2020, 112, 652–660. [Google Scholar] [CrossRef] [PubMed]
  26. Büsing, F.; Hägele, F.A.; Nas, A.; Döbert, L.V.; Fricker, A.; Dörner, E.; Podlesny, D.; Aschoff, J.; Pöhnl, T.; Schweiggert, R.; et al. High intake of orange juice and cola differently affects metabolic risk in healthy subjects. Clin. Nutr. 2019, 38, 812–819. [Google Scholar] [CrossRef]
  27. Zhang, Y.; Chen, S.; Yuan, M.; Xu, Y.; Xu, H. Gout and diet: A comprehensive review of mechanisms and management. Nutrients 2022, 14, 3525. [Google Scholar] [CrossRef]
  28. Yustisia, I.; Tandiari, D.; Cangara, M.H.; Hamid, F.; Nu’man, A. A high-fat, high-fructose diet induced hepatic steatosis, renal lesions, dyslipidemia, and hyperuricemia in non-obese rats. Heliyon 2022, 8, e10896. [Google Scholar] [CrossRef]
  29. Zhang, C.; Li, L.; Zhang, Y.; Zeng, C. Recent advances in fructose intake and risk of hyperuricemia. Biomed. Pharmacother. 2020, 131, 110795. [Google Scholar] [CrossRef]
  30. Jamnik, J.; Rehman, S.; Mejia, S.B.; de Souza, R.J.; Khan, T.A.; Leiter, L.A.; Wolever, T.M.; Kendall, C.W.; Jenkins, D.J.; Sievenpiper, J.L. Fructose intake and risk of gout and hyperuricemia: A systematic review and meta-analysis of prospective cohort studies. BMJ Open 2016, 6, e013191. [Google Scholar] [CrossRef]
  31. Ebrahimpour-Koujan, S.; Saneei, P.; Larijani, B.; Esmaillzadeh, A. Consumption of sugar sweetened beverages and dietary fructose in relation to risk of gout and hyperuricemia: A systematic review and meta-analysis. Crit. Rev. Food Sci. Nutr. 2020, 60, 1–10. [Google Scholar] [CrossRef]
  32. World Health Organization. Guideline: Sugars Intake for Adults and Children; World Health Organization: Geneva, Switzerland, 2015. [Google Scholar]
  33. Liu, X.Y.; Wu, Q.Y.; Chen, Z.H.; Yan, G.Y.; Lu, Y.; Dai, H.J.; Li, Y.; Yang, P.T.; Yuan, H. Elevated triglyceride to high-density lipoprotein cholesterol (TG/HDL-C) ratio increased risk of hyperuricemia: A 4-year cohort study in China. Endocrine 2020, 68, 71–80. [Google Scholar] [CrossRef]
  34. Wang, Z.; Wu, M.; Yan, H.; Zhong, S.; Xu, R.; Zhao, Z.; Yang, Q. Association between Remnant Cholesterol and risk of Hyperuricemia: A cross-sectional study. Horm. Metab. Res. 2024, 56, 882–889. [Google Scholar] [CrossRef] [PubMed]
  35. Juraschek, S.P.; McAdams-Demarco, M.; Gelber, A.C.; Sacks, F.M.; Appel, L.J.; White, K.J.; Miller, E.R., III. Effects of lowering glycemic index of dietary carbohydrate on plasma uric acid levels: The OmniCarb randomized clinical trial. Arthritis Rheumatol. 2016, 68, 1281–1289. [Google Scholar] [CrossRef] [PubMed]
  36. Zhang, T.; Bian, S.; Gu, Y.; Meng, G.; Zhang, Q.; Liu, L.; Wu, H.; Zhang, S.; Wang, Y.; Wang, X.; et al. Sugar-containing carbonated beverages consumption is associated with hyperuricemia in general adults: A cross-sectional study. Nutr. Metab. Cardiovasc. Dis. 2020, 30, 1645–1652. [Google Scholar] [CrossRef] [PubMed]
  37. Lubawy, M.; Formanowicz, D. High-fructose diet–induced hyperuricemia accompanying metabolic syndrome–mechanisms and dietary therapy proposals. Int. J. Environ. Res. Public Health 2023, 20, 3596. [Google Scholar] [CrossRef]
  38. Dearden, L.; Bouret, S.G.; Ozanne, S.E. Sex and gender differences in developmental programming of metabolism. Mol. Metab. 2018, 15, 8–19. [Google Scholar] [CrossRef]
  39. Zhang, L.; Shi, X.; Yu, J.; Zhang, P.; Ma, P.; Sun, Y. Dietary vitamin E intake was inversely associated with hyperuricemia in US adults: NHANES 2009–2014. Ann. Nutr. Metab. 2021, 76, 354–360. [Google Scholar] [CrossRef]
  40. Roumeliotis, S.; Roumeliotis, A.; Dounousi, E.; Eleftheriadis, T.; Liakopoulos, V. Dietary antioxidant supplements and uric acid in chronic kidney disease: A review. Nutrients 2019, 11, 1911. [Google Scholar] [CrossRef]
Figure 1. Experimental process.
Figure 1. Experimental process.
Nutrients 17 01052 g001
Figure 2. Radar chart of the most important clinical, anthropometric, and lifestyle features for women and men as identified in Table 1 and Table 3.
Figure 2. Radar chart of the most important clinical, anthropometric, and lifestyle features for women and men as identified in Table 1 and Table 3.
Nutrients 17 01052 g002
Figure 3. Radar chart of the most important features from a food frequency questionnaires for women and men as identified in Table 5 and Table 11.
Figure 3. Radar chart of the most important features from a food frequency questionnaires for women and men as identified in Table 5 and Table 11.
Nutrients 17 01052 g003
Figure 4. Radar chart of the most important nutritional and biochemical features for women and men as identified in Table 8.
Figure 4. Radar chart of the most important nutritional and biochemical features for women and men as identified in Table 8.
Nutrients 17 01052 g004
Figure 5. Impact of max_iter on R 2 in men.
Figure 5. Impact of max_iter on R 2 in men.
Nutrients 17 01052 g005
Figure 6. Impact of max_iter on R 2 in women.
Figure 6. Impact of max_iter on R 2 in women.
Nutrients 17 01052 g006
Table 1. Subset of clinical, anthropometric, and lifestyle features of women obtained through Boosted DTR, CatBoost, SHAP, and XGBoost.
Table 1. Subset of clinical, anthropometric, and lifestyle features of women obtained through Boosted DTR, CatBoost, SHAP, and XGBoost.
Boosted DTRCatBoostSHAPXGBoost
FeatureImportanceFeatureImportanceFeatureMASVFeatureMASV
Body Mass Index0.0375Triglycerides7.2254Creatinine0.0138Mother with diabetes0.0073
Triglycerides0.0214Body Mass Index6.8841Body Mass Index0.0125Passive smoker0.0045
Weight0.0198Creatinine6.6062Triglycerides0.0109BB4K0.0044
HDL-cholesterol0.0140Atherogenic index5.4440Atherogenic index0.0093Snoring0.0040
Glucose0.0139Urinary sodium4.9646Glucose0.0088Triglycerides0.0038
Creatinine0.0137Glucose4.5729Urinary sodium0.0077Menstrual cycle0.0036
Atherogenic index0.0135Age4.3607Weight0.0065Smoke0.0033
MGMD0.0126Weight3.3334Age0.0064Father with gout0.0031
Waist circumference0.0120Waist circumference2.9811Iron0.0038ISSSTE0.0030
Iron0.0102Total cholesterol1.7219Waist circumference0.0033Father with hypertension0.0028
Urinary sodium0.0100Respiratory rate1.4676Heart rate0.0026Father with diabetes0.0028
Father with gout0.0100Heart rate1.3924Mother with diabetes0.0024Mother with dyslipidemia0.0027
Pregnancies0.0093Serum sodium1.3627Pregnancies0.0023Very low physical activity0.0025
BB4K0.0091Height1.2105Urine potassium0.0022Skilled worker0.0024
Father with obesity0.0091Mother with diabetes1.1261Complications in childbirth0.0021Mother with hypertension0.0023
BB4K: baby birth weight over 4 kg; MGMD: maternal grandmother diabetes; ISSSTE: Institute for Social Security and Services for State Workers.
Table 2. Performance metrics for the subset of clinical, anthropometric, and lifestyle features for women identified by Boosted DTR, CatBoost, SHAP, and XGBoost.
Table 2. Performance metrics for the subset of clinical, anthropometric, and lifestyle features for women identified by Boosted DTR, CatBoost, SHAP, and XGBoost.
ModelParametersMethodMSERMSE R 2
CatBoostdepth: 6
iterations: 300,
l2_leaf_reg: 5
learning_rate: 0.05
Importance0.00630.07930.2315
DTRlearning_rate: 0.01,
max_depth: 4,
n_estimators: 300,
subsample: 0.8
Importance0.00870.09300.2768
SHAPalpha: 1,
colsample_bytree: 0.3,
learning_rate: 0.1,
max_depth: 5,
n_estimators: 100
SHAP0.00680.08240.1688
XGBoostalpha: 1,
colsample_bytree: 0.3,
learning_rate: 0.1,
max_depth: 5,
n_estimators: 100
MeanAbsShapValue0.00790.08900.3170
Table 3. Subset of clinical, anthropometric, and lifestyle features of men obtained through Boosted DTR, CatBoost, SHAP, and XGBoost.
Table 3. Subset of clinical, anthropometric, and lifestyle features of men obtained through Boosted DTR, CatBoost, SHAP, and XGBoost.
BOOSTED DTRCATBOOSTSHAPXGBoost
FeatureImportanceFeatureImportanceFeatureMASVFeatureMASV
Body Mass Index0.0330Creatinine8.6576Body Mass Index0.0181Father with diabetes0.0103
Waist circumference0.0193Body Mass Index5.9170Creatinine0.0169Passive smoker0.0097
Creatinine0.0173Atherogenic index4.1839Atherogenic index0.0106Father with gout0.0077
Daily smoker0.0159Triglycerides3.8335Triglycerides0.0102Mother with diabetes0.0066
Atherogenic index0.0158Urinary sodium3.4797Weight0.0074IMSS0.0055
MGFHA0.0136Waist circumference3.2791Urinary sodium0.0068Whiskey0.0049
Currently smokes0.0132Age2.6792Age0.0063High cholesterol0.0048
Triglycerides0.0131HDL-Cholesterol2.3282Father with diabetes0.0062Cognac0.0044
Drunk0.0131Urine potassium2.1635Iron0.0052Father with obesity0.0038
Father with gout0.0120Weight1.8986Passive smoker0.0049Use of electric vehicle0.0036
Father with diabetes0.0117Height1.8661Waist circumference0.0047Biparental family0.0033
Passive smoker0.0110LDL-Cholesterol1.8497Urine potassium0.0045PGMD0.0032
Whiskey0.0109Total cholesterol1.7534Height0.0042MGMD0.0032
Prof0.0106Pulse pressure1.7148IMSS0.0034Drunk0.0031
MGFHA: maternal grandfather heart attack; Prof: professional academic level; IMSS: Mexican Social Security Institute; PGMD: paternal grandmother with diabetes; MGMD: maternal grandmother with diabetes.
Table 4. Performance metrics for the subset of clinical, anthropometric, and lifestyle features for men identified by Boosted DTR, CatBoost, SHAP, and XGBoost.
Table 4. Performance metrics for the subset of clinical, anthropometric, and lifestyle features for men identified by Boosted DTR, CatBoost, SHAP, and XGBoost.
ModelParametersMethodMSERMSE R 2
CatBoostdepth: 6,
iterations: 500,
l2_leaf_reg: 1,
learning_rate: 0.05
Importance0.01150.10740.1687
DTRlearning_rate: 0.01,
max_depth: 4,
n_estimators: 300,
subsample: 0.8
Importance0.01110.10540.1994
SHAPlearning_rate: 0.1,
max_depth: 3,
n_estimators: 100
SHAP0.01110.10540.1987
XGBoostalpha: 1,
colsample_bytree: 0.3,
learning_rate: 0.1,
max_depth: 5,
n_estimators: 100
MeanAbsShapValue0.01370.10720.1996
Table 5. Subset of features from a food frequency questionnaire for men obtained through Boosted DTR, CatBoost and SHAP.
Table 5. Subset of features from a food frequency questionnaire for men obtained through Boosted DTR, CatBoost and SHAP.
Boosted DTRCatBoostSHAP
FeatureImportanceFeatureImportanceFeatureMASV
A medium cola soda0.0239A medium cola soda6.9284A medium cola soda0.0110
Corn0.0135A corn tortilla2.2745A banana0.0030
Safflower oil0.0134A banana2.1508A cup of atole with milk0.0025
A teaspoon of margarine0.0130A portion of pork2.0625A teaspoon of margarine0.0025
Corn oil0.0128A teaspoon of chocolate powder1.7368A portion of pork0.0023
A tamale0.0127A liver steak or chicken liver1.4353A piece of chorizo or sausage0.0022
A teaspoon of honey, jam or caramel0.0125A cup of atole with milk1.4117Chicken egg0.0022
A teaspoon of chocolate powder0.0122A bowl of oatmeal1.3965A piece of sweet bread0.0020
A portion of pork0.0121A bowl of sardines in tomato sauce1.2908A cup of beans0.0019
A banana0.0118A cup of coffee without sugar1.2908Half a cup of seafood0.0018
A bowl of oatmeal0.0117Olive oil1.2625Corn0.0017
A cup of atole with milk0.0117A slice of white bread1.2612A liver steak or chicken liver0.0017
A piece of chorizo or sausage0.0115Chicken egg1.2538Safflower oil0.0016
A portion of carnitas0.0115Wheat tortilla1.2270Pork skin0.0016
A teaspoon of vegetable shortening0.0115A fresh apple1.2131a teaspoon of chocolate powder0.0014
Table 6. Performance metrics for the subset of food frequency questionnaire features for men.
Table 6. Performance metrics for the subset of food frequency questionnaire features for men.
ModelParametersMethodMSERMSE R 2
CatBoostdepth: 10,
iterations: 500,
l2_leaf_reg: 3,
learning_rate: 0.01
Importance0.01290.11350.0714
Boosted_DTRlearning_rate: 0.05,
max_depth: 3,
n_estimators: 200,
subsample: 0.8
Importance0.01280.11330.0739
SHAPalpha: 1,
colsample_bytree: 0.7,
learning_rate: 0.01,
max_depth: 5,
n_estimators: 200
SHAP0.01290.11360.0702
Table 7. Performance metrics for the subset of food frequency questionnaire features for women.
Table 7. Performance metrics for the subset of food frequency questionnaire features for women.
ModelParametersMethodMSERMSE R 2
CatBoostdepth: 10,
iterations: 300,
l2_leaf_reg: 1,
learning_rate: 0.05
Importance0.01110.10520.0763
DTRlearning_rate: 0.05,
max_depth: 5,
n_estimators: 100,
subsample: 0.8
Importance0.01110.10510.0767
SHAPalpha: 1,
colsample_bytree: 0.3,
learning_rate: 0.1,
max_depth: 20,
n_estimators: 200
SHAP0.00830.09130.0187
Table 8. Subset of nutritional and biochemical features for women and men obtained from a food frequency questionnaire via CatBoost and SHAP.
Table 8. Subset of nutritional and biochemical features for women and men obtained from a food frequency questionnaire via CatBoost and SHAP.
WomenMen
CatBoostSHAPCatBoostSHAP
FeatureImportanceFeatureMASVFeatureImportanceFeatureMASV
Glucose3.0789Glucose0.0050Fructose2.4942Fructose0.0044
Carbohydrates2.8389Starch0.0033Maltose2.3573Cholesterol0.0039
Alcohol2.1420Alcohol0.0032Glucose2.3070Glucose0.0038
Fructose1.9236Fructose0.0030Carbohydrates1.9796Maltose0.0037
Maltose1.9102Beta cryptoxanthin0.0030Lactose1.9027Carbohydrates0.0036
Cholesterol1.8989 Alcohol1.8901Maltose0.0034
Beta cryptoxanthin0.0020
Table 9. Performance metrics for the subset of nutritional and biochemical features for women and men.
Table 9. Performance metrics for the subset of nutritional and biochemical features for women and men.
SexModelParametersMethodMSERMSE R 2
MenCatBoostdepth: 10,
iterations: 300,
l2_leaf_reg: 1,
learning_rate: 0.01
Importance0.01300.11390.0654
MenSHAPalpha: 1,
colsample_bytree: 0.7,
learning_rate: 0.01,
max_depth: 10,
n_estimators: 200
SHAP0.01350.11600.1345
WomenCatBoostdepth: 10,
iterations: 500,
l2_leaf_reg: 1,
learning_rate’: 0.01
Importance0.01060.10300.1139
WomenSHAPalpha: 1,
colsample_bytree: 0.3,
learning_rate: 0.01,
max_depth: 10,
n_estimators: 500
SHAP0.00770.08800.0523
Table 10. Performance metrics of cross-feature method for groups in men and women.
Table 10. Performance metrics of cross-feature method for groups in men and women.
GroupSexParametersMSERMSE R 2
Womencolsample_bytree: 0.9,
learning_rate: 0.05,
max_depth: 5,
n_estimators: 50,
subsample: 0.8
0.00340.05820.5857
Clinical, anthropometric
and lifestyle
Mencolsample_bytree: 0.8,
learning_rate: 0.05,
max_depth: 3,
n_estimators: 50,
subsample: 0.8
0.00930.09640.3302
Womencolsample_bytree: 0.9,
learning_rate: 0.05,
max_depth: 3,
n_estimators: 100,
subsample: 1.0
0.00910.09510.2431
Food frequency
questionnaire
Mencolsample_bytree: 0.8,
learning_rate: 0.01,
max_depth: 5,
n_estimators: 150,
subsample: 0.9
0.00990.09950.2865
Womencolsample_bytree: 0.8,
learning_rate: 0.05,
max_depth: 7,
n_estimators: 50,
subsample: 0.9
0.00390.06270.519
Nutritional
and biochemical
Mencolsample_bytree: 0.8,
learning_rate: 0.05,
max_depth: 7,
n_estimators: 50,
subsample: 0.9
0.00960.09790.3098
Table 11. Subset of features from a food frequency questionnaire for women obtained through Boosted DTR, CatBoost and SHAP.
Table 11. Subset of features from a food frequency questionnaire for women obtained through Boosted DTR, CatBoost and SHAP.
Boosted DTRCatBoostSHAP
FeatureImportanceFeatureImportanceFeatureMASV
A medium cola soda0.0292A medium cola soda6.0152A drink (rum, brandy, or tequila)0.0078
A teaspoon of butter0.0170A portion of carnitas2.8352A medium cola soda0.0065
A drink (rum, brandy, or tequila)0.0165A glass of sugary flavored water2.0415A bowl with rice0.0039
A teaspoon of hot sauce or chili0.0150A cup of coffee without sugar1.9075Safflower oil0.0034
A portion of carnitas0.0141A teaspoon of margarine1.8767A glass of sugary flavored water0.0033
Pork skin0.0136A glass of whole milk1.7528Wheat tortilla0.0032
A glass of sugary flavored water0.0135A cup of yogurt or Bulgarian yogurt1.7215A corn0.0032
A corn tortilla0.0134Soy Oil1.6787A portion of carnitas0.0029
A taco with al pastor meat0.0132A portion of dried beans1.6536A beer0.0029
Corn oil0.0132A taco with al pastor meat1.6423A teaspoon of honey, jam or caramel0.0027
A bowl of pasta soup0.0130A corn tortilla1.6204A cup of yogurt or Bulgarian yogurt0.0025
Half a cup of seafood0.0129Olive oil1.6147A orange0.0025
Half a cup of peas0.0128A cup of beans1.5657A portion of grapes0.0025
A bowl of oatmeal0.0128Half a cup of peas1.4594A slice of papaya0.0025
A sapote0.0126A slice of papaya1.3905A bowl of cream of vegetable soup0.0023
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Gutiérrez-Esparza, G.; Martínez-García, M.; Márquez-Murillo, M.F.; Brianza-Padilla, M.; Hernández-Lemus, E.; Amezcua-Guerra, L.M. Tlalpan 2020 Case Study: Enhancing Uric Acid Level Prediction with Machine Learning Regression and Cross-Feature Selection. Nutrients 2025, 17, 1052. https://doi.org/10.3390/nu17061052

AMA Style

Gutiérrez-Esparza G, Martínez-García M, Márquez-Murillo MF, Brianza-Padilla M, Hernández-Lemus E, Amezcua-Guerra LM. Tlalpan 2020 Case Study: Enhancing Uric Acid Level Prediction with Machine Learning Regression and Cross-Feature Selection. Nutrients. 2025; 17(6):1052. https://doi.org/10.3390/nu17061052

Chicago/Turabian Style

Gutiérrez-Esparza, Guadalupe, Mireya Martínez-García, Manlio F. Márquez-Murillo, Malinalli Brianza-Padilla, Enrique Hernández-Lemus, and Luis M. Amezcua-Guerra. 2025. "Tlalpan 2020 Case Study: Enhancing Uric Acid Level Prediction with Machine Learning Regression and Cross-Feature Selection" Nutrients 17, no. 6: 1052. https://doi.org/10.3390/nu17061052

APA Style

Gutiérrez-Esparza, G., Martínez-García, M., Márquez-Murillo, M. F., Brianza-Padilla, M., Hernández-Lemus, E., & Amezcua-Guerra, L. M. (2025). Tlalpan 2020 Case Study: Enhancing Uric Acid Level Prediction with Machine Learning Regression and Cross-Feature Selection. Nutrients, 17(6), 1052. https://doi.org/10.3390/nu17061052

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

Article Metrics

Back to TopTop