Datasets:
Tasks:
Image Classification
Modalities:
Image
Formats:
imagefolder
Languages:
English
Size:
< 1K
License:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: mit
|
| 5 |
+
size_categories:
|
| 6 |
+
- 10k<n<100k
|
| 7 |
+
task_categories:
|
| 8 |
+
- image-classification
|
| 9 |
+
tags:
|
| 10 |
+
- mnist
|
| 11 |
+
- mytorch
|
| 12 |
+
- rjit
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# 📊 MyTorch Refined MNIST Dataset
|
| 16 |
+
|
| 17 |
+
Curated by **Aryan Singh Chandel (Shiro)** at **Rustamji Institute of Technology (RJIT)**.
|
| 18 |
+
|
| 19 |
+
This dataset contains the refined version of the MNIST handwritten digit database, specifically pre-processed for compatibility with the **MyTorch** deep learning framework.
|
| 20 |
+
|
| 21 |
+
## 🏗️ Dataset Structure
|
| 22 |
+
The data is stored in a compressed NumPy format (`mnist_raw.npz`) containing:
|
| 23 |
+
- **X_train / y_train:** 60,000 samples for training.
|
| 24 |
+
- **X_test / y_test:** 10,000 samples for final validation.
|
| 25 |
+
|
| 26 |
+
## ⚡ Pre-processing Specification
|
| 27 |
+
Every image in this dataset has undergone the following transformation logic used in the MyTorch 98.59% accuracy run:
|
| 28 |
+
1. **Flattening:** $28 \times 28$ spatial grids converted to $\mathbb{R}^{784}$ feature vectors.
|
| 29 |
+
2. **Global Scaling:** Pixel values $P \in [0, 255]$ normalized to $P' \in [0, 1]$ via $P' = P / 255.0$.
|
| 30 |
+
3. **Refinement:** Standardized tensor shapes for high-speed matrix multiplication in NumPy-based linear layers.
|
| 31 |
+
|
| 32 |
+
## 🚀 Usage
|
| 33 |
+
To load this dataset into your own MyTorch project:
|
| 34 |
+
```python
|
| 35 |
+
import numpy as np
|
| 36 |
+
data = np.load('mnist_raw.npz')
|
| 37 |
+
X_train, y_train = data['X_train'], data['y_train']
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
🎓 Citation
|
| 41 |
+
If you use this refined dataset in your research, please attribute:
|
| 42 |
+
Chandel, A. S. (2026). MyTorch: Deep Learning from Scratch at RJIT.
|