HAM10000-18164

HAM10000数据集包含10,000张皮肤镜图像,用于皮肤病变分类,主要推动皮肤癌诊断研究,存在类别不平衡。

VahidMohammadZadehEivaghiVahidMohammadZadehEivaghi
GitHub
2024-07-27 更新
浏览 27
医学影像皮肤病变图像分类
HAM10000

基本信息

模态
医学影像
大小
0.000013 GB
许可
MIT
创建/更新时间
2024-07-27
版本
main

资源简介

HAM10000

【数据集背景】

本数据集源站标题为《VahidMohammadZadehEivaghi/Skin-Cancer-Detection》。源站首次发布:2024-07-27。

【数据内容】

源站原始描述:PyTorch implementation of Skin cancer (HAM10000 dataset) classifier # 🩺 Skin Cancer Detection (HAM10000 Dataset) The HAM10000 dataset is a comprehensive collection of dermatoscopic images for skin lesion classification, widely used in the field of medical imaging and machine learning. It contains a diverse range of skin lesions, aimed at advancing research in dermatology, particularly for the diagnosis of skin cancers. The dataset consists of 10,000 high-resolution images of skin lesions, source…

【适用方向】

影像类数据可用于医学图像分析模型(检测、分割、分类)的训练与评测,也可用于标注质量与成像参数相关性的研究。

【获取与许可】

源站页面:https://github.com/VahidMohammadZadehEivaghi/Skin-Cancer-Detection

使用许可:MIT。

官方服务

专家保障全链路合规授权与标注交付

陕川双基地 × 超十家三甲医院直连

从合规授权、采集治理、专业标注到数据集交付,我们提供全链路闭环服务,让高质量临床数据即拿即用。

⚡️ 需要原始数据或标注支持?联系我们获取定制方案。

帮我联系

下载信息

注册下载

需要注册 Kaggle 账号并登录后下载,适合需要跟踪下载记录和使用 API 的用户。

暂未开放

公开下载

无需注册即可直接获取公开样本或文档,适合快速预览和评估数据集质量。

免登录

有偿下载

公开数据集受托下载与技术交付服务。

提供高速下载与技术交付服务(收技术服务费,非数据销售)

暂未开放

当前数据集主要来源为 Kaggle 公开托管,完整影像包建议通过原始链接或 Kaggle API 获取。

使用方式

数据集获取

git clone https://github.com/VahidMohammadZadehEivaghi/Skin-Cancer-Detection.git

curl -L -o repo.zip https://github.com/VahidMohammadZadehEivaghi/Skin-Cancer-Detection/archive/refs/heads/main.zip
unzip repo.zip

源站 README 摘录(使用方式)

🩺 Skin Cancer Detection (HAM10000 Dataset)

The HAM10000 dataset is a comprehensive collection of dermatoscopic images for skin lesion classification, widely used in the field of medical imaging and machine learning. It contains a diverse range of skin lesions, aimed at advancing research in dermatology, particularly for the diagnosis of skin cancers. The dataset consists of 10,000 high-resolution images of skin lesions, sourced from various individuals. This diversity helps in training robust machine learning models that can generalize well to unseen data. The primary challenge with the dataset is its significant imbalance. <br/>
Collected images are annotated and categorized into 7 classes including:

  • Melanoma: 3
  • Melanocytic Nevi: 1
  • Basal Cell Carcinoma: 5
  • Squamous Cell Carcinoma: 2
  • Actinic Keratosis: 6
  • Vascular Lesions: 4
  • Benign Keratosis (Seborrheic Keratosis, etc.): 0
    Source: Download the HAM1000 dataset from here

💡 Class distribution

In any machine learning endeavor, it is highly recommended to perform exploratory analysis before commencing the modeling phase. This process yields insights about the data, providing valuable information that can guide and improve the modeling efforts. For example, examining the distribution of categories within the HAM10000 dataset shows that it is imbalanced, necessitating careful strategies to address this issue.
<figure style=“align: center;”>
In such cases, giving equal weight to errors across all classes can cause problems, as the model might simply classify all instances as the majority class to achieve deceptively high accuracy. This approach ignores that different cancer types need different treatments. To address this issue, it is crucial to assign error weights to each class based on their populations. For example, if the nv class is the majority, the model should prioritize it less. I use the median frequency balancing for class weighting, though mode frequency balance and inverse frequency method are also options.

🥇 Finetuning ResNet50

ResNet50, short for Residual Network with 50 layers, is a deep convolutional neural network designed to address the vanishing gradient problem in deep networks. Introduced by Kaiming He and colleagues in 2015,
[Deep Residual Learning for Image Recognition](https://arxiv

数据加载示例(图像类)

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)  # 要求 子目录=类别

目录组织与标注格式以源站说明和下载后实际文件为准。

完整仓库:github.com/VahidMohammadZadehEivaghi/Skin-Cancer-Detection

数据缺失?

依托陕西、四川两大基地,我们与超过十家三甲医院建立直接合作关系,覆盖合规授权、采集治理、专业标注、数据交付的全流程,为AI医疗团队提供即拿即用的高质量临床数据。

⚡️ 需要数据支持或标注服务?立即联系我们获取专业方案。

获取专属数据定制方案