|
|
--- |
|
|
license: mit |
|
|
task_categories: |
|
|
- image-classification |
|
|
modalities: |
|
|
- image |
|
|
language: |
|
|
- en |
|
|
tags: |
|
|
- MNIST |
|
|
- Image |
|
|
- Classification |
|
|
- Image Classification |
|
|
pretty_name: MNIST Like Datasets |
|
|
size_categories: |
|
|
- 10K<n<100K |
|
|
--- |
|
|
|
|
|
The dataset contains various MNIST like datasets in teh form of a `csv` files. |
|
|
|
|
|
## MNIST |
|
|
|
|
|
Based on the MNIST Dataset in OpenML: [OpenML `mnist_784`](https://www.openml.org/search?type=data&sort=runs&id=554&status=active). |
|
|
The way to reproduce: |
|
|
|
|
|
```python |
|
|
from sklearn.datasets import fetch_openml |
|
|
dfX, dsY = fetch_openml('mnist_784', version = 1, return_X_y = True, as_frame = True) |
|
|
|
|
|
dfX.columns = [str(ii) for ii in range(dfX.shape[1])] |
|
|
dfX['Label'] = dsY |
|
|
dfX.to_csv('MNIST.csv') |
|
|
``` |
|
|
|
|
|
## Fashion MNIST |
|
|
|
|
|
Based on [Zalando Research - FashionMNIST](https://github.com/zalandoresearch/fashion-mnist). |
|
|
|
|
|
Packaged into a CSV in a Row Major manner with added `Label` column. |
|
|
The first 60,000 samples are the _Train Set_ and the last 10,000 samples are the _Test Set_. |