task_categories:image-classification language:en region:us
---
task_categories:
- image-classification
language:
- en
---
# 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
    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:

```python
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")