A personalized and automated real-time meal detection algorithm based on continuous glucose monitoring and heart rate data for individuals with post-bariatric hypoglycemia - Summary - MDSpire

A personalized and automated real-time meal detection algorithm based on continuous glucose monitoring and heart rate data for individuals with post-bariatric hypoglycemia

  • By

  • Luca Cossu

  • Giacomo Cappon

  • Felix Wortmann

  • David Herzig

  • Lia Bally

  • Andrea Facchinetti

  • July 1, 2026

  • 0 min

Share

Objective:

To develop a personalized algorithm for automated real-time meal detection in patients with post-bariatric hypoglycemia (PBH) by integrating continuous glucose monitoring (CGM) and heart rate (HR) data.

Approach:
  • Algorithm Development: A heuristic decision-tree model was created using four individualized features from CGM and HR data, tested on a dataset of 40 PBH patients monitored for up to 50 days.
Key Findings:
  • The algorithm achieved 100% recall in controlled settings.
  • In free-living conditions, it achieved an average precision of 85% and recall of 78%.
  • The algorithm reduced false positives compared to CGM-only methods, with one false positive every 2.3 days.
Interpretation:

The proposed algorithm effectively detects meal times without manual input, facilitating automated glucose management in PBH patients.

Limitations:
  • The study's findings are based on a limited sample size of 40 patients.
  • Performance may vary in different populations or settings beyond those tested.
Conclusion:

The integration of CGM and HR data in meal detection algorithms shows promise for improving glucose management in PBH and potentially other populations.

Original Source(s)

Related Content