task_categories:image-classification language:en license:gpl size_categories:10K<n<100K region:us
---
license: gpl
task_categories:
- image-classification
language:
- en
size_categories:
- 10K<n<100K
pretty_name: mnist_100
---

The MNIST-100 dataset is a variation of the original MNIST dataset, consisting of 100 handwritten numbers extracted from the MNIST dataset. Unlike the traditional MNIST dataset, which contains 60,000 training images of digits from 0 to 9, the Modified MNIST-10 dataset focuses on 100 numbers.

Dataset Overview:
- Dataset Name: MNIST-100
- Total Number of Images: train: 60000 test: 1000
- Classes: 100 (Numbers from 00 to 99)
- Image Size: 28x56 pixels (grayscale)

Data Collection:
The MNIST-100 dataset was created by randomly selecting 10 unique digits from the original MNIST dataset. For each selected digit, 10 representative images were extracted, resulting in a total of 100 images. These images were carefully chosen to represent a diverse range of handwriting styles for each digit.

Each image in the dataset is labeled with its corresponding numbers, ranging from 00 to 99, making it suitable for classification tasks. Researchers and practitioners can use this dataset to train and evaluate machine learning algorithms and neural networks for digit recognition and classification.

Please note that the Modified MNIST-100 dataset is not intended to replace the original MNIST dataset but serves as a complementary resource for specific applications requiring a smaller and more focused subset of the MNIST data.

Overall, the MNIST-100 dataset offers a compact and representative collection of 100 handwritten numbers, providing a convenient tool for experimentation and learning in computer vision and pattern recognition.

Label Distribution for training set:

| Label | Occurrences | Label | Occurrences | Label | Occurrences |
|-------|-------------|-------|-------------|-------|-------------|
| 0     | 561         | 34    | 629         | 68    | 606         |
| 1     | 687         | 35    | 540         | 69    | 582         |
| 2     | 582         | 36    | 588         | 70    | 566         |
| 3     | 633         | 37    | 619         | 71    | 659         |
| 4     | 588         | 38    | 584         | 72    | 572         |
| 5     | 544         | 39    | 609         | 73    | 682         |
| 6     | 582         | 40    | 570         | 74    | 627         |
| 7     | 615         | 41    | 679         | 75    | 598         |
| 8     | 584         | 42    | 544         | 76    | 605         |
| 9     | 567         | 43    | 567         | 77    | 602         |
| 10    | 641         | 44    | 574         | 78    | 595         |
| 11    | 780         | 45    | 555         | 79    | 586         |
| 12    | 720         | 46    | 550         | 80    | 569         |
| 13    | 699         | 47    | 614         | 81    | 628         |
| 14    | 630         | 48    | 614         | 82    | 578         |
| 15    | 627         | 49    | 595         | 83    | 622         |
| 16    | 684         | 50    | 505         | 84    | 569         |
| 17    | 713         | 51    | 583         | 85    | 540         |
| 18    | 743         | 52    | 512         | 86    | 557         |
| 19    | 706         | 53    | 555         | 87    | 628         |
| 20    | 527         | 54    | 504         | 88    | 562         |
| 21    | 710         | 55    | 488         | 89    | 625         |
| 22    | 586         | 56    | 531         | 90    | 600         |
| 23    | 584         | 57    | 556         | 91    | 700         |
| 24    | 568         | 58    | 497         | 92    | 622         |
| 25    | 530         | 59    | 520         | 93    | 622         |
| 26    | 612         | 60    | 556         | 94    | 591         |
| 27    | 627         | 61    | 682         | 95    | 557         |
| 28    | 618         | 62    | 594         | 96    | 580         |
| 29    | 619         | 63    | 539         | 97    | 640         |
| 30    | 622         | 64    | 610         | 98    | 577         |
| 31    | 684         | 65    | 514         | 99    | 563         |
| 32    | 606         | 66    | 587         |       |             |
| 33    | 592         | 67    | 655         |       |             |

Test data:

![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F7193292%2Fac688f2526851734cb50be10f0a7bd7d%2Fpobrane%20(16).png?generation=1690276359580027&alt=media)

| Label | Occurrences | Label | Occurrences | Label | Occurrences |
|-------|-------------|-------|-------------|-------|-------------|
| 00     | 96          | 34    | 100         | 68    | 90          |
| 01     | 108         | 35    | 91          | 69    | 92          |
| 02     | 91          | 36    | 107         | 70    | 102         |
| 03     | 96          | 37    | 112         | 71    | 116         |
| 04     | 75          | 38    | 97          | 72    | 101         |
| 05     | 85          | 39    | 96          | 73    | 106         |
| 06     | 88          | 40    | 103         | 74    | 98          |
| 07     | 96          | 41    | 123         | 75    | 101         |
| 08     | 99          | 42    | 94          | 76    | 91          |
| 09     | 113         | 43    | 88          | 77    | 119         |
| 10    | 106         | 44    | 102         | 78    | 96          |
| 11    | 132         | 45    | 85          | 79    | 104         |
| 12    | 111         | 46    | 86          | 80    | 84          |
| 13    | 134         | 47    | 86          | 81    | 124         |
| 14    | 89          | 48    | 115         | 82    | 107         |
| 15    | 100         | 49    | 100         | 83    | 83          |
| 16    | 112         | 50    | 78          | 84    | 98          |
| 17    | 126         | 51    | 107         | 85    | 77          |
| 18    | 115         | 52    | 90          | 86    | 72          |
| 19    | 109         | 53    | 103         | 87    | 120         |
| 20    | 107         | 54    | 86          | 88    | 98          |
| 21    | 113         | 55    | 77          | 89    | 93          |
| 22    | 136         | 56    | 78          | 90    | 107         |
| 23    | 105         | 57    | 99          | 91    | 116         |
| 24    | 98          | 58    | 81          | 92    | 92          |
| 25    | 89          | 59    | 91          | 93    | 103         |
| 26    | 102         | 60    | 101         | 94    | 106         |
| 27    | 113         | 61    | 100         | 95    | 68          |
| 28    | 120         | 62    | 94          | 96    | 95          |
| 29    | 102         | 63    | 103         | 97    | 106         |
| 30    | 96          | 64    | 108         | 98    | 112         |
| 31    | 101         | 65    | 84          | 99    | 110         |
| 32    | 108         | 66    | 84          |       |             |
| 33    | 101         | 67    | 92          |       |             |



![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F7193292%2F80a637f778810f4cc54947641d7bfa4b%2Fpobrane%20(17).png?generation=1690276478274699&alt=media)