# Comparison of machine learning models for hemoglobin prediction in patients undergoing maintenance hemodialysis

**Authors:** Ting Xie, Xiaoyan Su, Chen Yun, Xiaohong Tang, Xuejia Zheng, Jingjing Dong, Qi Guo, Shouping Zhu, Donge Tang, Yong Dai, Lianghong Yin

PMC · DOI: 10.3389/fmolb.2026.1746108 · Frontiers in Molecular Biosciences · 2026-02-20

## TL;DR

This study compares machine learning models to predict hemoglobin levels in hemodialysis patients, finding that a neural network model performs best.

## Contribution

The study introduces a comparison of eight ML models for hemoglobin prediction in hemodialysis patients using real-world clinical data.

## Key findings

- The Multilayer Perceptron model achieved the highest performance with an R² of 0.672.
- The most recent hemoglobin value was identified as the strongest predictor of future levels.
- ML models using patient data can help identify anemia risk early in hemodialysis patients.

## Abstract

To estimate the next hemoglobin (Hb) levels in maintenance hemodialysis (MHD) patients, predictive models were developed using various Machine Learning (ML) algorithms.

A total of 8,159 records from 2,104 MHD patients across 24 blood purification centers in Shenzhen were included. Eight ML algorithms were employed to develop prediction models: Linear Regression (LR), Least Absolute Shrinkage and Selection Operator (Lasso), Bayesian Ridge, Gradient Boosting (XGBoost), Random Forest (RF), Support Vector Machine (SVM), Multilayer Perceptron (MLP), and Long Short-Term Memory (LSTM). Subsequently, the performance of models was evaluated and compared.

Among all the models, the MLP performed the best performance, with an R
2 of 0.672, a mean absolute error (MAE) of 9.360 g/L, and a root mean square error (RMSE) of 12.438 g/L. The analysis indicated that the most recent Hb value (Hb(t-1)) was the strongest predictor.

ML models based on demographic characteristics, dialysis records, and historical Hb data can effectively predict future Hb levels in MHD patients, which is helpful for early identification of anemia risk and timely clinical intervention.

## Linked entities

- **Diseases:** anemia (MONDO:0002280)

## Full-text entities

- **Genes:** SHROOM4 (shroom family member 4) [NCBI Gene 57477] {aka MRXSSDS, SHAP, shrm4}, HAMP (hepcidin antimicrobial peptide) [NCBI Gene 57817] {aka HEPC, HFE2B, LEAP1, PLTR}, EPO (erythropoietin) [NCBI Gene 2056] {aka DBAL, ECYT5, EP, MVCD2}
- **Diseases:** renal inflammation (MESH:D007249), fibrosis (MESH:D005355), MHD (MESH:D007319), blood loss (MESH:D016063), deterioration of renal function (MESH:D058186), hypoxia (MESH:D000860), Anemia (MESH:D000740), hypertension (MESH:D006973), ESRD (MESH:D007676)
- **Chemicals:** iron (MESH:D007501), MHD (-)
- **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/PMC12962952/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12962952/full.md

## References

22 references — full list in the complete paper: https://tomesphere.com/paper/PMC12962952/full.md

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