糖尿病患者再入院预测
用于预测糖尿病患者30天内再入院风险的表格数据集,旨在识别影响因素。

基本信息
资源简介
糖尿病患者再入院预测
【数据集背景】
本数据集源站标题为《Diabetic Patients'' Re-admission Prediction》。源站首次发布:2020-08-27。
【数据内容】
源站原始描述:**Dataset name**: Diabetes 130-US hospitals for years 1999-2008 Data Set **Background**: Diabetes Mellitus (DM) is a chronic disease where the blood has high sugar level. It can occur when the pancreas does not produce enough insulin, or when the body cannot effectively use the insulin it produces (WHO). Diabetes is a progressive disease that can lead to a significant number of health complications and profoundly reduce the quality of life. While many diabetic patients manage the health complica…
【数据结构与技术规格】
文件数 3 个,合计 19.43 MB。
【主题与分类】
主题标签:diabetes、diseases、hospitals and treatment centers。
【适用方向】
结构化表格数据可直接用于统计建模、特征工程与队列分析。
【获取与许可】
源站页面:https://www.kaggle.com/datasets/saurabhtayal/diabetic-patients-readmission-prediction
使用许可:Other (specified in description)。
下载信息
注册下载
需要注册 Kaggle 账号并登录后下载,适合需要跟踪下载记录和使用 API 的用户。
需登录公开下载
无需注册即可直接获取公开样本或文档,适合快速预览和评估数据集质量。
暂未开放当前数据集主要来源为 Kaggle 公开托管,完整影像包建议通过原始链接或 Kaggle API 获取。
使用方式
数据集获取
方式一:KaggleHub(Python,推荐 AI Agent 使用)
# 前置依赖: pip install kagglehub
import kagglehub
path = kagglehub.dataset_download("saurabhtayal/diabetic-patients-readmission-prediction")
print("数据已下载至:", path)
方式二:Kaggle CLI(命令行)
# 前置条件: 注册 Kaggle 账号, Settings > API > Create New Token
# 将 kaggle.json 放到 ~/.kaggle/ 并 chmod 600
pip install kaggle
kaggle datasets download -d saurabhtayal/diabetic-patients-readmission-prediction
unzip diabetic-patients-readmission-prediction.zip -d diabetic-patients-readmission-prediction/
数据说明
该数据集用于预测糖尿病患者30天内再入院的风险,通过分析患者历史医疗记录等表格数据,识别导致高再入院率的关键因素。
数据加载示例(表格/文本类)
import pandas as pd, glob, os
files = (glob.glob(os.path.join(path, "**", "*.csv"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.tsv"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.xlsx"), recursive=True))
print("数据文件:", files)
df = pd.read_csv(files[0])
print(df.shape); print(df.columns.tolist()); print(df.head(3))
需要用于商业化训练或医疗器械注册(NMPA/FDA)?
公开数据往往缺乏完整的病理回证与专家标注。千方医数集依托陕川双基地与超十家三甲医院直连,提供完全合规、去标识化、支持注册级质控的专病数据集交易服务。




