sanaa13/breastmnist2
BreastMNIST Dataset This dataset contains medical imaging data for breast cancer classification. It is split into training, validation, and test sets. Dataset Structure The dataset includes: train_images: Images for training train_labels: Labels for training val_images: Images for validation val_labels: Labels for validation test_images: Images for testing test_labels: Labels for testing Configurations datasets: - name: breastmnist… See the full description on the dataset page: https://huggingface.co/datasets/sanaa13/breastmnist2.
BreastMNIST Dataset
This dataset contains medical imaging data for breast cancer classification. It is split into training, validation, and test sets.
Dataset Structure
The dataset includes:
train_images: Images for trainingtrain_labels: Labels for trainingval_images: Images for validationval_labels: Labels for validationtest_images: Images for testingtest_labels: Labels for testing
Configurations
datasets:
- name: breastmnist configs:
- name: default description: "Default configuration with all available data."
- name: balanced description: "Configuration with a balanced dataset between classes." ---
Usage
You can load the dataset using the following commands:
from datasets import load_dataset
# Load the default configuration
dataset = load_dataset("sanaa13/breastmnist1", "default")
# Load the balanced configuration
balanced_dataset = load_dataset("sanaa13/breastmnist1", "balanced")