机器学习模型的伪代码(乳腺癌转移预测)
提供用于乳腺癌IDC血行转移风险预测的多种机器学习模型伪代码,基于临床文本数据,集成模型表现最优。

基本信息
资源简介
机器学习模型的伪代码(乳腺癌转移预测)
【一句话概览】
本数据集是 figshare 公开的文本数据集,收录 1 个文件、合计 9.73 KB,主题涵盖 voting mechanism using、voting mechanism exhibits、valuable reference support、invasive ductal carcinoma、experimental results show,可用于医学自然语言处理(实体识别、信息抽取等),CC BY 4.0 许可开放获取。
【数据集背景】
本数据集源站标题为《Pseudocode for machine learning models.》。配套论文《Machine learning-based prediction of distant metastasis risk in invasive ductal carcinoma of the breast》发表于 PLOS ONE(2025),DOI:10.1371/journal.pone.0310410。源站首次发布:2025-02-26。
【数据内容】
源站原始描述:More than 90% of deaths due to breast cancer (BC) are due to metastasis-related complications, with invasive ductal carcinoma (IDC) of the breast being the most common pathologic type of breast cancer and highly susceptible to metastasis to distant organs. BC patients who develop cancer metastases are more likely to have a poor prognosis and poor quality of life, so it is extremely important to recognize and diagnose whether distant metastases have occurred in IDC as early as possible. In this s…
【数据结构与技术规格】
文件数 1 个,合计 9.73 KB。Table 5.xls:application/vnd.ms-excel,9.73 KB。数据集 DOI:10.1371/journal.pone.0310410.t005。
【主题与分类】
源站学科分类:Biotechnology、Environmental Sciences not elsewhere classified、Biological Sciences not elsewhere classified、Information Systems not elsewhere classified、Mathematical Sciences not elsewhere classified、Developmental Biology。主题标签:voting mechanism using、voting mechanism exhibits、valuable reference support、invasive ductal carcinoma、experimental results show、common pathologic type、best prediction performance、hybrid model based、detecting cancer metastasis、risk prediction model。
【适用方向】
文本类数据可用于医学自然语言处理,如命名实体识别、信息抽取与文本分类。
【获取与许可】
源站页面:https://plos.figshare.com/articles/dataset/Pseudocode_for_machine_learning_models_/28500007
使用许可:CC BY 4.0(https://creativecommons.org/licenses/by/4.0/)。
规范引用:Dong, Jingru; Lei, Ruijiao; Ma, Feiyang; Yu, Lu; Wang, Lanlan; Xu, Shangzhi; et al. (2025). Pseudocode for machine learning models.. PLOS ONE. Dataset
下载信息
注册下载
需要注册 Kaggle 账号并登录后下载,适合需要跟踪下载记录和使用 API 的用户。
暂未开放公开下载
无需注册即可直接获取公开样本或文档,适合快速预览和评估数据集质量。
免登录有偿下载
公开数据集受托下载与技术交付服务。
提供高速下载与技术交付服务(收技术服务费,非数据销售)
暂未开放当前数据集主要来源为 Kaggle 公开托管,完整影像包建议通过原始链接或 Kaggle API 获取。
使用方式
数据集获取(Figshare)
- 源站标题:Pseudocode for machine learning models.
- DOI:10.1371/journal.pone.0310410.t005
- 发布日期:2025-02-26
- 文件数:1 个
- 文件总体积:9.73 KB
- 源站页面:https://plos.figshare.com/articles/dataset/Pseudocode_for_machine_learning_models_/28500007
命令行下载
curl -L -o "Table 5.xls" "https://ndownloader.figshare.com/files/52637596"
文件清单
Table 5.xls(9.73 KB)
文件总体积 9.73 KB(源站 API 实测)。
数据加载示例(图像类)
from PIL import Image
import glob, os
files = (glob.glob(os.path.join(path, "**", "*.png"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.jpg"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.tif"), recursive=True))
print("图像文件数:", len(files))
img = Image.open(files[0]); print("尺寸/模式:", img.size, img.mode)
# torchvision Dataset 方式:
# from torchvision import datasets
# ds = datasets.ImageFolder(path) # 要求 子目录=类别
目录组织与标注格式以源站说明和下载后实际文件为准。
数据说明
More than 90% of deaths due to breast cancer (BC) are due to metastasis-related complications, with invasive ductal carcinoma (IDC) of the breast being the most common pathologic type of breast cancer and highly susceptible to metastasis to distant organs. BC patients who develop cancer metastases are more likely to have a poor prognosis and poor quality of life, so it is extremely important to recognize and diagnose whether distant metastases have occurred in IDC as early as possible. In this study, we develop a non-invasive breast cancer classification system for detecting cancer metastasis. We used Anaconda-Jupyter notebooks to develop various Python programming modules for text mining, data processing, and machine learning (ML) methods. A risk prediction model was constructed based on four algorithms: Random Forest, XGBoost, Logistic Regression, and SVM. Additionally, we developed a hybrid model based on a voting mechanism using these four algorithms as the base models. The models were compared and evaluated by the following metrics: accuracy, precision, recall, F1-score, and area under the ROC curve (AUC) values. The experimental results show that the hybrid model based on the voting mechanism exhibits the best prediction performance (accuracy: 0.867, precision: 0.929, recall: 0.805, F1-score: 0.856, AUC: 0.94). This stable risk prediction model provides a valuable reference support for doctors in assessing and diagnosing the risk of IDC hematogenous metastasis. It also improves the work efficiency of doctors and strives to provide patients with increased chances of survival.
许可
CC BY 4.0
引用
学术使用请引用 DOI 10.1371/journal.pone.0310410.t005(source: https://plos.figshare.com/articles/dataset/Pseudocode_for_machine_learning_models_/28500007)。
数据缺失?
依托陕西、四川两大基地,我们与超过十家三甲医院建立直接合作关系,覆盖合规授权、采集治理、专业标注、数据交付的全流程,为AI医疗团队提供即拿即用的高质量临床数据。
⚡️ 需要数据支持或标注服务?立即联系我们获取专业方案。




