GLUCOBENCH
收藏资源简介:
GLUCOBENCH是由德克萨斯A&M大学统计系和电气与计算机工程系共同创建的一个综合数据集,旨在为连续血糖监测(CGM)数据的预测模型提供标准化的评估平台。该数据集包含五个公开的CGM数据集,涵盖不同规模和人口特征,数据量从5个到超过200个患者不等。数据集的创建过程包括数据预处理、插值和分割,确保数据质量。GLUCOBENCH主要应用于糖尿病管理领域,旨在通过提高血糖轨迹预测的准确性和不确定性量化,改善糖尿病患者的治疗效果和自主管理能力。
GLUCOBENCH is a comprehensive dataset jointly created by the Department of Statistics and the Department of Electrical and Computer Engineering of Texas A&M University. It aims to provide a standardized evaluation platform for predictive models of continuous glucose monitoring (CGM) data. This dataset includes five public CGM datasets, covering different scales and demographic characteristics, with the number of patients ranging from 5 to over 200. The dataset creation process includes data preprocessing, interpolation and splitting to ensure data quality. GLUCOBENCH is mainly applied in the field of diabetes management, aiming to improve the treatment outcomes and self-management abilities of diabetic patients by enhancing the accuracy of blood glucose trajectory prediction and uncertainty quantification.
GlucoBench 数据集概述
数据集信息
数据集列表
| 数据集名称 | 许可证 | 患者数量 | CGM 频率 |
|---|---|---|---|
| Colas | Creative Commons 4.0 | 208 | 5 分钟 |
| Dubosson | Creative Commons 4.0 | 9 | 5 分钟 |
| Hall | Creative Commons 4.0 | 57 | 5 分钟 |
| Broll | GPL-2 | 5 | 5 分钟 |
| Weinstock | Creative Commons 4.0 | 200 | 5 分钟 |
数据处理
- 数据处理步骤详见
exploratory_analysis/文件夹。 - 处理后的数据应保存在
raw_data/文件夹中。 - 提供
raw_data.zip文件作为示例。
代码结构
bin/: 所有模型的训练命令config/: 所有数据集的配置文件data_formatter/: 数据预处理脚本exploratory_analysis/: 数据处理步骤的 Jupyter 笔记本lib/: 模型实现及相关脚本output/: 超参数优化和测试日志paper_results/: 生成论文中表格和图表的代码utils/: 模型训练和测试的辅助函数raw_data.zip: 网络获取的 CGM 数据environment.yml: conda 环境文件
如何复现结果
环境设置
- 创建名为
glucobench的 Python 3.10 环境。 - 激活环境并安装所有依赖项。
配置更改
- 使用
config/文件夹中的配置文件进行模型训练和评估。 - 修改
./lib/model.py文件中的超参数搜索范围。
如何使用仓库
数据处理
- 使用
DataFormatter类进行数据预处理。 - 数据预处理步骤可通过
config/文件控制。
与 PyTorch 集成
- 使用
Darts库中的Dataset类将数据包装为Dataset。 - 示例代码详见
example.ipynb笔记本。

- 1GlucoBench: Curated List of Continuous Glucose Monitoring Datasets with Prediction Benchmarks德克萨斯A&M大学 · 2024年



