Skip to main content

Welcome to AIby{Examples} ๐Ÿš€

"What I cannot create, I do not understand."
โ€” Richard Feynman

Traditional AI education is often polarized:

  1. Shallow High-Level Overviews: Black-box tutorials that import a library (model.fit()) without explaining the mechanics under the hood.
  2. Dense Academic Treatises: Heavy mathematical proofs and walls of equations that obscure practical intuition and real-world engineering constraints.

AIby{Examples} bridges this gap through active, first-principles construction. Every topic is taught through concrete examples, hand-drawn visual sketchnotes, step-by-step mathematical derivations, and runnable, zero-magic Python code.


How every guide is builtโ€‹

Each topic in our curriculum moves through the same three-part arc:

StageWhat you get
๐Ÿ’ก See itA clear mental model and visual sketchnote โ€” no syntax yet, just intuition for why the idea exists.
โšก Run itThe smallest possible Python example (zero dependencies) plus the underlying math, derived step by step.
๐Ÿ› ๏ธ Ship itA production-grade implementation, its common pitfalls, and hands-on challenges to test your understanding.

๐Ÿงช Try It Yourself: In-Browser Playgroundโ€‹

Experience our zero-install, in-browser Python execution (powered by WebAssembly/Pyodide) and interactive mental models directly below:

1. Dynamic Visual Analogy: Loss Landscapeโ€‹

Adjust the stride length (learning rate ฮท\eta) slider below to see how steps oscillate or smoothly converge into the loss minimum:

Visual Mental Model

Gradient Descent & Step Size

Parameter Weight (w) โž” (Target Minimum at Center)Startt=1t=2t=3t=4t=5
Adjust Stride Length (Learning Rate $\eta$):ฮท = 0.20
๐Ÿข Under-stepping: Learning rate very small; takes too many iterations to descend.
๐Ÿ’ก The Everyday Metaphor

The Hiker in the Dense Fog: Imagine walking downhill in dense fog. You can only feel the local slope beneath your boots. Your stride length determines whether you smoothly descend into the valley or overshoot the path entirely.

๐Ÿค– What the Code & Math Do

Mathematical Reality: Parameter Updates: In neural network training, we calculate the slope (gradient) of the loss with respect to weights. The learning rate dictates the step magnitude along the negative gradient.

โš ๏ธ
Where this analogy breaks down:

In real deep learning, loss surfaces have non-convex saddle points and billions of dimensions where 2D spatial intuition no longer applies.

2. Cell-Level Python Notebookโ€‹

Run and edit Python code right in your browser. State is shared across cells!

๐Ÿ Python Zero-Install WebAssembly Sandbox
Loading Interactive Python Notebook (WebAssembly)...

What you'll learnโ€‹

Our curriculum follows the full AI lifecycle, from first principles to production and beyond:

#PhaseFocus
01FundamentalsMath, statistics, and programming foundations for AI
02Algorithms & Model TheoryClassical ML, neural networks, and deep learning architectures
03DevelopmentData pipelines, model training, agents, and RAG systems
04OptimizationCompression, quantization, and efficient inference
05DeploymentSystem design, model serving, and MLOps
06MonitoringObservability, drift detection, and cost tracking
07RefinementContinual learning, experimentation, and debugging
08Responsible AISafety, fairness, privacy, and interpretability
09Research & AdvancedEmerging architectures and the AI research frontier

Ready to begin?โ€‹

๐Ÿ‘‰ Start with Topic 1: A Short History of AI