Learn by Doing
Every concept includes hands-on interactives. Drag, slide, click, and experiment to build real intuition.
An interactive journey through the complete lifecycle of an AI model—from raw data to deployed intelligence. Let's build, train, test, and improve together.
Every concept includes hands-on interactives. Drag, slide, click, and experiment to build real intuition.
Complex topics like gradient descent and backpropagation become clear through animated, interactive visualizations.
Understand bias, fairness, and responsibility—critical concepts for the next generation of AI builders.
Collection, cleaning, labeling, augmentation. Garbage in, garbage out.
Neural networks, weights, biases, loss functions, gradient descent.
Train/test splits, overfitting, bias detection, fairness metrics.
Feedback loops, fine-tuning, transfer learning, drift monitoring.
Before an AI can learn, it needs quality ingredients. This phase is all about gathering, cleaning, and labeling data—the foundation everything else rests on.
Gathering raw data from web, sensors, APIs, or human input. Scale matters, but so does source diversity.
Removing duplicates, fixing errors, handling missing values. Clean data prevents the model from learning noise.
Humans teach the model what things are. Bounding boxes, categories, segmentation masks—ground truth for learning.
Expanding datasets through transformations. Extracting meaningful features helps the model generalize better.
Drag each data sample to the correct bin. Clean, well-labeled data goes to Training Set. Noisy, mislabeled, or corrupted data goes to Discard. This simulates the critical data curation step.
Well-labeled, diverse, representative samples
Corrupted, mislabeled, duplicate, or biased samples
How does a model actually learn? It's not magic—it's math. Weights adjust, loss decreases, and patterns emerge through iteration.
Layers of neurons connected by weights. Input → Hidden Layers → Output. Each connection has a weight that determines signal strength.
Weights = connection strengths. Biases = neuron thresholds. Together they're the "knobs" the model turns during training.
The "score" measuring how wrong the model is. Mean Squared Error, Cross-Entropy—different tasks need different loss functions.
The optimization algorithm. Calculate gradient (direction of steepest error increase), step opposite. Learning rate controls step size.
Click an input neuron to see how activation flows through the network. Watch weighted connections light up as the signal propagates to the output layer.
Adjust the learning rate and watch how the loss curve behaves. Too high = overshooting (divergence). Too low = painfully slow. Just right = smooth convergence.
A model that memorizes training data but fails on new data is useless. Evaluation separates learning from memorization—and reveals hidden biases.
Hold out 20-30% of data never seen during training. This is the "final exam"—if the model passes, it learned patterns, not answers.
Training loss drops but test loss rises = memorization. Regularization, dropout, more data, or early stopping can fix this.
Models reflect their training data. If data has societal biases, the model amplifies them. Test across demographics!
Accuracy isn't enough. Precision, recall, F1, AUC-ROC—choose metrics that match real-world costs of errors.
Compare two scenarios: a balanced dataset vs. a biased one. Click "Run Evaluation" to see how model performance differs across demographic groups. This demonstrates why diverse training data is non-negotiable.
Equal representation across all demographic groups in training data.
Training data heavily skewed toward Group A (80% of samples).
The model trained on biased data performs well on the majority group but fails dramatically on underrepresented groups. This isn't a model flaw—it's a data flaw. Fix the data, fix the fairness.
AI models rot. The world changes, data drifts, and user needs evolve. Continuous improvement isn't optional—it's survival.
Collect predictions, outcomes, and corrections in production. This real-world data becomes the next training set.
Start with a pre-trained giant (BERT, GPT, ResNet), then train just the last layers on your specific task. Faster, cheaper, better.
Track input distributions, prediction confidence, and performance over time. When metrics shift, it's retraining time.
Model flags uncertain predictions for human review. Label those, retrain. Maximum improvement per labeling dollar.
Test your understanding with 5 questions. Your score represents your "model's initial weights"—the better you do, the better your model starts. Can you reach 100%?
What does "Garbage In, Garbage Out" mean in the context of AI data?
What is the primary purpose of a loss function during training?
If your training accuracy is 99% but test accuracy is 65%, what's happening?
Why is transfer learning (fine-tuning) often better than training from scratch?
What is "model drift" and why does it matter?
Your model is ready for training!
Key terms you'll encounter on your AI journey. Click any term to expand its definition.