一站式医学时间序列机器学习工具,让临床医生轻松用上先进算法。
mtslearn: Machine Learning in Python for Medical Time Series
- 统一接口自动处理多种数据格式,大幅减少数据清洗工作量。
- 端到端流程支持从读取数据到可视化结果,仅需几行代码完成复杂任务。
- 模块化设计适合临床研究者快速验证医学假设,降低使用门槛。
医学时间序列数据记录患者病情动态演变,在现代临床决策支持系统中至关重要。然而,真实世界临床数据高度异构且格式不一,现有机器学习工具学习曲线陡峭、流程碎片化,导致前沿AI技术与临床应用间存在显著鸿沟。为此,我们提出mtslearn,一个专为医学时间序列设计的全流程集成工具包。该框架提供统一数据接口,自动化解析宽表、长表和扁平数据格式,显著降低数据预处理负担。基于此,mtslearn构建了从数据读取、特征工程、模型训练到结果可视化的完整流水线,并支持自定义算法灵活接入。通过模块化设计,将复杂的工程任务简化为少量代码,极大降低编程经验不足的临床研究人员的使用门槛,使其能更专注于医学假说探索,加速先进算法向临床实践转化。mtslearn已开源,项目地址:https://github.com/PKUDigitalHealth/mtslearn。
原文摘要 · Abstract (English)
Medical time-series data captures the dynamic progression of patient conditions, playing a vital role in modern clinical decision support systems. However, real-world clinical data is highly heterogeneous and inconsistently formatted. Furthermore, existing machine learning tools often have steep learning curves and fragmented workflows. Consequently, a significant gap remains between cutting-edge AI technologies and clinical application. To address this, we introduce mtslearn, an end-to-end integrated toolkit specifically designed for medical time-series data. First, the framework provides a unified data interface that automates the parsing and alignment of wide, long, and flat data formats. This design significantly reduces data cleaning overhead. Building on this, mtslearn provides a complete pipeline from data reading and feature engineering to model training and result visualization. Furthermore, it offers flexible interfaces for custom algorithms. Through a modular design, mtslearn simplifies complex data engineering tasks into a few lines of code. This significantly lowers the barrier to entry for clinicians with limited programming experience, empowering them to focus more on exploring medical hypotheses and accelerating the translation of advanced algorithms into real-world clinical practice. mtslearn is publicly available at https://github.com/PKUDigitalHealth/mtslearn.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。