File size: 4,242 Bytes
2311f30
9054417
 
 
2311f30
9054417
 
2311f30
9054417
 
2311f30
9054417
 
 
 
 
 
 
 
2311f30
9054417
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
---

---

task_categories:
  - image-classification

language:
  - en

tags:
  - Image
  - Vision
  - VisionEncoder
  - Brain
  - BrainTumorClassification
  - Biology
  - Medical

size_categories:
  - 10K<n<100K

pretty_name: BrainTumorClassification

---

# BrainTumorClassification

A large-scale curated brain MRI image dataset for multi-class brain tumor classification and medical imaging research.

## Dataset Overview

**BrainTumorClassification** is a curated collection of **16,599 brain MRI images** designed for training and evaluating machine learning and deep learning models for brain tumor classification.

The dataset contains four diagnostic categories:

* Glioma
* Meningioma
* Pituitary Tumor
* No Tumor

This dataset was developed through the curation, validation, and reorganization of publicly available Brain Tumor MRI datasets, primarily derived from widely used Kaggle sources. Additional quality checks, data verification, and structural improvements were performed to create a larger and more accessible resource for the research community.

## Dataset Structure

```text
BrainTumorClassification/

├── train/
│   ├── _classes.csv
│   ├── part1/
│   │   └── MRI images
│   │
│   └── part2/
│       └── MRI images

├── valid/
│   ├── _classes.csv
│   └── MRI images

└── test/
    ├── _classes.csv
    └── MRI images
```

### Train Split

The training split contains the majority of images and is divided into `part1` and `part2` directories. Both folders contain MRI images used for model training, while `_classes.csv` stores the corresponding label information.

### Validation Split

The validation split contains MRI images used for model selection, hyperparameter tuning, and performance monitoring during training. Labels are provided through the accompanying `_classes.csv` file.

### Test Split

The test split contains MRI images reserved for final evaluation and benchmarking. Labels are provided through the corresponding `_classes.csv` file.

## Dataset Statistics

| Property     | Value                |
| ------------ | -------------------- |
| Total Images | 16,599               |
| Classes      | 4                    |
| Task         | Image Classification |
| Domain       | Medical Imaging      |
| Modality     | Brain MRI            |
| License      | MIT                  |

## Classification Labels

| Label      | Description                                       |
| ---------- | ------------------------------------------------- |
| Glioma     | Brain MRI scans containing Glioma tumors          |
| Meningioma | Brain MRI scans containing Meningioma tumors      |
| Pituitary  | Brain MRI scans containing Pituitary tumors       |
| No Tumor   | Brain MRI scans without detectable tumor presence |

## Data Curation

This dataset was created through a structured curation pipeline that included:

* Collection from publicly available Brain Tumor MRI datasets.
* Verification of image-label consistency.
* Removal of corrupted or unusable files.
* Reorganization into a standardized directory structure.
* Quality validation and dataset cleaning.
* Preparation for machine learning and deep learning workflows.

The goal of this effort was to provide a larger, cleaner, and easier-to-use dataset for researchers, students, and practitioners working on medical image classification.

## Intended Uses

This dataset is suitable for:

* Brain tumor classification
* Deep learning research
* Computer vision applications
* Transfer learning experiments
* Vision Transformer (ViT) training
* Explainable AI (XAI)
* Medical imaging research
* Academic projects and benchmarking

## Citation

If you use this dataset in your research, publication, thesis, report, or product, please cite:

```bibtex
@dataset{patel2025braintumorclassification,
  author = {Dev Patel},
  title = {BrainTumorClassification: A Curated Brain MRI Classification Dataset},
  year = {2025},
  publisher = {Hugging Face},
  url = {https://huggingface.co/datasets/devpatel1012/BrainTumorClassification}
}
```
##

---

**Curated by Dev Patel**

**Total Images:** 16,599

**Task:** Multi-Class Brain Tumor Classification