Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jul 11;10(3):262.
doi: 10.3390/jfmk10030262.

Interpretable Machine Learning for Osteopenia Detection: A Proof-of-Concept Study Using Bioelectrical Impedance in Perimenopausal Women

Affiliations

Interpretable Machine Learning for Osteopenia Detection: A Proof-of-Concept Study Using Bioelectrical Impedance in Perimenopausal Women

Dimitrios Balampanos et al. J Funct Morphol Kinesiol. .

Abstract

Objectives: The early detection of low bone mineral density (BMD) is essential for preventing osteoporosis and related complications. While dual-energy X-ray absorptiometry (DXA) remains the gold standard for diagnosis, its cost and limited availability restrict its use in large-scale screening. This study investigated whether raw bioelectrical impedance analysis (BIA) data combined with explainable machine learning (ML) models could accurately classify osteopenia in women aged 40 to 55. Methods: In a cross-sectional design, 138 women underwent same-day BIA and DXA assessments. Participants were categorized as osteopenic (T-score between -1.0 and -2.5; n = 33) or normal (T-score ≥ -1.0) based on DXA results. Overall, 24.1% of the sample were classified as osteopenic, and 32.85% were postmenopausal. Raw BIA outputs were used as input features, including impedance values, phase angles, and segmental tissue parameters. A sequential forward feature selection (SFFS) algorithm was employed to optimize input dimensionality. Four ML classifiers were trained using stratified five-fold cross-validation, and SHapley Additive exPlanations (SHAP) were applied to interpret feature contributions. Results: The neural network (NN) model achieved the highest classification accuracy (92.12%) using 34 selected features, including raw impedance measurements, derived body composition indices such as regional lean mass estimates and the edema index, as well as a limited number of categorical variables, including self-reported physical activity status. SHAP analysis identified muscle mass indices and fluid distribution metrics, features previously associated with bone health, as the most influential predictors in the current model. Other classifiers performed comparably but with lower precision or interpretability. Conclusions: ML models based on raw BIA data can classify osteopenia with high accuracy and clinical transparency. This approach provides a cost-effective and interpretable alternative for the early identification of individuals at risk for low BMD in resource-limited or primary care settings.

Keywords: perimenopause; preventive medicine; public health screening.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflicts of interest.

Figures

Figure 1
Figure 1
Agreement between DXA and BIA measurements for fat-free mass (FFM) and fat mass (FM). Panels (A,B) show Bland–Altman plots comparing FFM and FM values obtained from dual-energy X-ray absorptiometry (DXA) and bioelectrical impedance analysis (BIA), illustrating the mean difference and limits of agreement. Panels (C,D) display scatterplots with linear regression lines showing the strong correlations between the two methods for FFM and FM, respectively, across the total sample.
Figure 2
Figure 2
Confusion matrices for the machine learning (ML) classifiers used in the study. (ad) represent the performance of the (a) XGBoost, (b) LR, (c) SVM, and (d) NN classifiers, respectively. Each matrix displays the number of true positives, true negatives, false positives, and false negatives, providing a visual summary of each model’s ability to correctly classify cases and non-cases of osteopenia. Sensitivity and specificity values are derived from these matrices.
Figure 3
Figure 3
SHAP analysis of feature importance based on the NN classifier. Figure (a) shows the mean absolute SHAP values for each predictor, indicating their overall contribution to the model’s output. Figure (b) presents the SHAP summary plot, which displays both the magnitude and direction of each feature’s impact on individual predictions across the dataset. Higher SHAP values correspond to a stronger influence on model decisions, with color gradients indicating the magnitude of feature values.

Similar articles

References

    1. Ferrari S.L. Osteoporosis: A Complex Disorder of Aging with Multiple Genetic and Environmental Determinants. World Rev. Nutr. Diet. 2005;95:35–51. doi: 10.1159/000088271. - DOI - PubMed
    1. Yu B., Wang C.-Y. Osteoporosis: The Result of an ‘Aged’ Bone Microenvironment. Trends Mol. Med. 2016;22:641–644. doi: 10.1016/j.molmed.2016.06.002. - DOI - PMC - PubMed
    1. Lin J.T., Lane J.M. Osteoporosis: A Review. Clin. Orthop. Relat. Res. (1976–2007) 2004;425:126–134. doi: 10.1097/01.blo.0000132404.30139.f2. - DOI - PubMed
    1. Krum S.A., Brown M. Unraveling Estrogen Action in Osteoporosis. Cell Cycle. 2008;7:1348–1352. doi: 10.4161/cc.7.10.5892. - DOI - PubMed
    1. Raisz L.G. Pathogenesis of Osteoporosis: Concepts, Conflicts, and Prospects. J. Clin. Investig. 2005;115:3318–3325. doi: 10.1172/JCI27071. - DOI - PMC - PubMed

LinkOut - more resources