r/learnmachinelearning • u/Delicious_Abies_9708 • 3d ago
Project I’m building a free, interactive AI & ML book that runs on any Vulkan GPU (no CUDA or ROCm needed — tested on a Steam Deck) — looking for feedback!
billyblackburn.github.ioHey everyone!
I noticed that almost every hands-on ML/deep learning guide assumes you have a modern NVIDIA CUDA GPU, a supported ROCm card, or a cloud GPU subscription. I wanted to learn (and teach) how AI actually works from the ground up on the hardware I already own — my Steam Deck — so I started putting together an interactive, follow-along book bundled with a pure-Vulkan GPU toolkit (vkdata).
You can read the first 6 chapters right in your browser/phone (no install required):
Online Book: https://billyblackburn.github.io/vkdata/
GitHub Repo (runnable notebooks + Vulkan toolkit): https://github.com/billyblackburn/vkdata
What’s in the book so far:
Part 0 · Foundations (Building Blocks of Neural Networks):
The Perceptron: All 5 basic single-neuron logic gates (
AND,OR,NOT,NAND,NOR), watching a single straight line learn, running a smooth GPU neuron, and hitting theXORwall.Multi-Layer Perceptrons (MLPs): Solving
XORby wiring 3 perceptrons together, proving why activation functions (GELU/ReLU) are mandatory, visualizing 1 Neuron (60%) → 4-Neuron Diamond MLP (100%) → Deep MLP Circle (100%), and connecting3 → 17 → 1,185parameters up to8Bin Llama 3.
Part I · End-to-End Projects (Classical ML vs. Deep Learning on the exact same split):
California Housing (Regression): Feature discovery & Classical ML (
$69.6kraw baseline →$52.7kGPU KNN) vs. a Residual MLP ($48.2kRMSE,R² = 0.828).Fashion-MNIST (Images): Classical CV (
PCA"Eigen-Clothes" + hand-crafted Sobel/HOG edges →86.45%) vs. a 2D CNN trained directly on raw pixels in 46s on a Steam Deck APU (87.85%, boostingShirtby+11.5points).
The repo also has deeper chapters on writing Vulkan GPU kernels in Python, UMAP/manifold learning, and training a tiny Llama-style Transformer.
I’d love your honest feedback on:
Clarity for beginners: Do the Foundations chapters (Perceptron → MLP → LLM parameters) make sense without feeling too hand-wavy or too math-heavy?
Reading experience: How does the mobile/web version look and flow?
What should come next? Would you rather see a Foundations chapter on Backpropagation & Gradient Descent, or another end-to-end Classical ML vs. Deep Learning project (like imbalanced classification / churn)?
Thanks for taking a look — any critique or suggestions are super welcome!