# Predicting mood swings in women of reproductive age using machine learning on metabolic, menstrual, and lifestyle indicators

**Authors:** Rawan AlSaad, Farah El Rayess, Rajat Thomas

PMC · DOI: 10.3389/fgwh.2025.1700324 · Frontiers in Global Women's Health · 2026-01-02

## TL;DR

This study uses machine learning to predict mood swings in reproductive-age women based on lifestyle, metabolic, and menstrual data, showing promising accuracy.

## Contribution

The novel contribution is demonstrating that self-reported lifestyle and metabolic indicators can effectively predict mood swings using machine learning models.

## Key findings

- Machine learning models achieved high precision (0.83) and recall (0.91) in predicting mood swings.
- Symptom burden was identified as the most influential predictor, followed by lifestyle and metabolic factors.
- Menstrual regularity and age had minimal impact on model performance.

## Abstract

Mood swings in reproductive-age women arise from interacting hormonal, metabolic, and lifestyle factors, yet scalable screening tools remain limited. Artificial intelligence (AI) and machine learning (ML) approaches offer the potential to integrate diverse predictors and enable early, data-driven risk stratification.

To evaluate the performance of ML algorithms in predicting mood swings among reproductive-age women using menstrual, metabolic, and lifestyle survey data and to identify the most influential predictors.

The study cohort included 465 reproductive-age women, with fifteen survey-derived features categorized into metabolic (e.g., BMI, recent weight gain, polycystic ovary syndrome), menstrual (regular periods, period length), lifestyle (fast-food consumption, daily exercise), symptom burden score, and demographic (age) categories. We compared five ML models: Random Forest, SVM, Gradient Boosting, LightGBM, and CatBoost, using precision, recall, F1, accuracy, and AUCPR metrics. Feature importance was assessed with permutation feature importance (PFI) and shapley additive explanations (SHAP).

Across models, the highest values achieved were precision 0.83, recall 0.91, accuracy 0.74, and AUCPR 0.87. PFI and SHAP converged on symptom burden as the dominant predictor, with additional signal from lifestyle indicators (higher fast-food consumption, lower daily exercise) and metabolic/dermatologic markers. Menstrual regularity/length contributed minimally; age showed a modest inverse association.

Low-cost, self-reported features can support ML prediction of mood swings in reproductive-age women with good performance. Findings motivate prospective validation, dynamic prediction with wearables, and evaluation of AI-based approaches for early detection of women's mental health concerns in community and primary care settings.

## Linked entities

- **Diseases:** polycystic ovary syndrome (MONDO:0008487)

## Full-text entities

- **Diseases:** polycystic ovary syndrome (MESH:D011085), weight gain (MESH:D015430)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12808425/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12808425/full.md

## References

29 references — full list in the complete paper: https://tomesphere.com/paper/PMC12808425/full.md

---
Source: https://tomesphere.com/paper/PMC12808425