|
| 1 | +# 🤖 February 2026: AI/ML Local Experiments |
| 2 | + |
| 3 | +## 📌 Theme Overview |
| 4 | + |
| 5 | +**Focus**: Local Models, Datasets, Prediction - Building ML projects that run entirely in the browser |
| 6 | + |
| 7 | +**Philosophy**: No black-box APIs, only transparent math and reproducible experiments. Every model runs locally, every dataset is included, and every prediction is explainable. |
| 8 | + |
| 9 | +## 🎯 Learning Goals |
| 10 | + |
| 11 | +- Understand ML fundamentals: features, labels, loss functions, optimization |
| 12 | +- Implement regression and classification from scratch |
| 13 | +- Work with datasets: preprocessing, normalization, train/test splits |
| 14 | +- Build inference pipelines that run in the browser |
| 15 | +- Create explainable AI demos with visual feedback |
| 16 | + |
| 17 | +## 📂 Projects |
| 18 | + |
| 19 | +### Project 1: Local ML Playground |
| 20 | +**Type**: Exploration |
| 21 | +**Tech**: Pure JavaScript, Chart.js |
| 22 | +**Description**: Interactive regression sandbox that trains models in the browser. Users can adjust features, see training progress, and understand how gradient descent works. |
| 23 | + |
| 24 | +**Features**: |
| 25 | +- Live regression training with visualized loss curves |
| 26 | +- Interactive parameter controls (learning rate, iterations) |
| 27 | +- Real-time prediction updates |
| 28 | +- "Show Math" mode explaining coefficients and calculations |
| 29 | + |
| 30 | +### Project 2: On-Device Classifier |
| 31 | +**Type**: Showcase |
| 32 | +**Tech**: TensorFlow.js / Custom JS implementation |
| 33 | +**Description**: Lightweight classification demo using local model files. No external APIs, no server-side processing. |
| 34 | + |
| 35 | +**Features**: |
| 36 | +- Pre-trained model stored in repo (quantized for speed) |
| 37 | +- Text or image classification |
| 38 | +- Instant on-device inference |
| 39 | +- Model architecture visualization |
| 40 | + |
| 41 | +## 🚀 What Makes This Month Different |
| 42 | + |
| 43 | +- **Zero External Dependencies**: All ML logic runs locally |
| 44 | +- **Educational First**: Focus on understanding over performance |
| 45 | +- **Reproducible**: Datasets and models included in repo |
| 46 | +- **Browser-Native**: No Python, no backends, pure web tech |
| 47 | + |
| 48 | +## 📚 Key Concepts Covered |
| 49 | + |
| 50 | +- **Supervised Learning**: Training with labeled data |
| 51 | +- **Loss Functions**: MSE, Cross-Entropy |
| 52 | +- **Optimization**: Gradient Descent variants |
| 53 | +- **Preprocessing**: Feature scaling, normalization |
| 54 | +- **Evaluation**: Train/test splits, metrics (MAE, accuracy) |
| 55 | +- **Inference**: Forward pass, prediction pipeline |
| 56 | + |
| 57 | +## 🔗 Resources & Inspiration |
| 58 | + |
| 59 | +- Linear regression math: [Khan Academy](https://www.khanacademy.org/math/statistics-probability/describing-relationships-quantitative-data/introduction-to-trend-lines/a/linear-regression-review) |
| 60 | +- TensorFlow.js docs: [tensorflow.org/js](https://www.tensorflow.org/js) |
| 61 | +- Interactive ML visualizations: [Distill.pub](https://distill.pub/) |
| 62 | + |
| 63 | +## 📊 Project Status |
| 64 | + |
| 65 | +- [x] February folder structure created |
| 66 | +- [ ] Project 1: Local ML Playground |
| 67 | + - [ ] Dataset selection and preprocessing |
| 68 | + - [ ] Regression implementation |
| 69 | + - [ ] UI with interactive controls |
| 70 | + - [ ] Loss curve visualization |
| 71 | +- [ ] Project 2: On-Device Classifier |
| 72 | + - [ ] Model selection and preparation |
| 73 | + - [ ] Inference pipeline |
| 74 | + - [ ] Demo UI |
| 75 | + - [ ] Documentation |
| 76 | + |
| 77 | +--- |
| 78 | + |
| 79 | +**Month**: February 2026 |
| 80 | +**Status**: In Progress |
| 81 | +**Next**: Build both projects and update root README |
0 commit comments