Your first neuron
Turn inputs, a weight, and a bias into a prediction.
Try experimentRead the lessonStandalone playgroundChoose an experiment by topic, refresh an idea, or take an optional side path. Registered experiments link to their teaching lessons; prototypes are marked as work in development.
134 experiments
Turn inputs, a weight, and a bias into a prediction.
Try experimentRead the lessonStandalone playgroundTurn errors into a loss curve, then find out why the size of a learning step matters.
Try experimentRead the lessonBuild XOR with two hidden neurons and discover what nonlinear activations add.
Try experimentRead the lessonTrace a mistake through two weights, calculate both gradients, and then update them together.
Try experimentRead the lessonInspect individual gradient arrows, average a mini-batch and compare learning under explicit example and update budgets.
Try experimentRead the lessonCompare gradient descent, accumulated momentum and Adam while inspecting their state and actual parameter changes.
Try experimentRead the lessonCompare warmup, step decay and cosine decay, then choose a checkpoint using declared development checks and stopping rules.
Try experimentRead the lessonInspect activation and gradient scales, break hidden-unit symmetry, and compare batch and layer normalization in training and evaluation modes.
Try experimentRead the lessonFollow exact derivatives through depth and time, compare identity residual paths and inspect globally clipped parameter updates.
Try experimentRead the lessonBreak naive softmax, repair its log-domain loss and check gradients with explicit perturbation sizes and tolerances.
Try experimentRead the lessonCompare model capacity, weight penalties, dropout and training duration using saved classifier candidates before opening the test set.
Try experimentRead the lessonBuild a small computation graph, inspect each backward contribution and compare automatic gradients with manual formulas and finite differences.
Try experimentRead the lessonA model can fit every training point and still fail on the next one. Find out how to tell.
Try experimentRead the lessonDraw an image with 25 pixels, inspect each weight, and see what makes a detector respond.
Try experimentRead the lessonChange the background, keep the shape, and investigate what a perfect score was hiding.
Try experimentRead the lessonReuse one filter at many positions and trace how stride, borders and pooling change the result.
Try experimentRead the lessonTrain on transformed images, check whether labels survive, and compare failure modes under a matched budget.
Try experimentRead the lessonCompare local filters with patch attention, then test which changes in image arrangement remain visible.
Try experimentRead the lessonConnect samples, local frequency measurements and a spectrogram, then expose aliasing and window tradeoffs.
Try experimentRead the lessonTrain a small recurrent predictor, follow its hidden state and expose what a bag of events forgets.
Try experimentRead the lessonTrain an encoder from paired views, diagnose collapsed features and test what a simple classifier can still recover.
Try experimentRead the lessonCompare a new network with frozen and partly adapted features under matched target-label budgets.
Try experimentRead the lessonTrain shared graph messages, change directed relationships and test whether reordering objects changes their predictions.
Try experimentRead the lessonDraw boxes and masks, expose merged and missed objects, and evaluate a tiny pixel classifier on real images.
Try experimentRead the lessonMove paired cameras, reconstruct points and challenge pose estimates with wrong correspondences.
Try experimentRead the lessonFit character, word and subword tokenizers; inspect unknown text and a count-based next-token baseline.
Try experimentRead the lessonExplore vectors, similarity, and why a word’s representation can change with context.
Try experimentRead the lessonEdit queries, keys, and values, and trace the weighted sum that lets tokens share context.
Try experimentRead the lessonInspect a tiny numerical decoder from token IDs to the next-token distribution.
Try experimentRead the lessonShift inputs and targets, inspect causal visibility, calculate cross-entropy and compare reference versus generated prefixes.
Try experimentRead the lessonInspect text provenance, repair duplicate leakage, compare filters and control training exposure.
Try experimentRead the lessonTrain a causal attention decoder, inspect actual gradients, restore checkpoints and compare position-level losses against a count baseline.
Try experimentRead the lessonCompare greedy, temperature, top-k and top-p decoding on trained checkpoints with fixed random draws and separate quality diagnostics.
Try experimentRead the lessonCompare full fine-tuning with a rank-two output update, inspect its arithmetic and measure new versus retained behavior.
Try experimentRead the lessonTrain a response ranker from editable pairwise labels, examine rater disagreement and expose a polished but false proxy exploiter.
Try experimentRead the lessonCompare actual supervised, DPO-style and exact expected-reward updates on a finite response set; expose a weak verifier and inspect a fixed-reference penalty.
Try experimentRead the lessonInspect token IDs, context budgets, genuine recorded completions, output schemas and source support.
Try experimentRead the lessonDesign a rubric and reserved task suite, inspect actual model failures, and distinguish token loss, source support and task success.
Try experimentRead the lessonBalance model size and training data, distinguish active weights from stored weights, and measure a small browser computation.
Try experimentRead the lessonExport and reload a real local model bundle; check named inputs, fitted preprocessing, dependency hashes and output meanings.
Try experimentRead the lessonProfile actual local inference, separate cold and warm traffic, and inspect precision error before choosing an optimization.
Try experimentRead the lessonReconstruct a result from local data, code, configuration and artifact records; locate changed preprocessing.
Try experimentRead the lessonCompare local and service boundaries, inspect shadow and staged traffic, and restore stable routing without erasing history.
Try experimentRead the lessonBuild a test suite and expose what unit, numerical, data, integration and behavior checks catch or miss.
Try experimentRead the lessonReplay changing traffic, request delayed labels and allocate limited alert reviews.
Try experimentRead the lessonTrace a release regression, contain its impact and verify recovery without rewriting the incident history.
Try experimentRead the lessonDefine inputs, outputs, users and success before choosing a model. Test how a changed target changes the labels.
Try experimentRead the lessonInspect missing values, copied requests, unit mismatches and conflicting labels before treating a table as evidence.
Try experimentRead the lessonCompare a rule, supplied candidate predictions and simulated human review, including costs and unfinished work.
Try experimentRead the lessonAudit real flower measurements, separate related rows, and turn a tempting score into a defensible claim.
Try experimentRead the lessonInspect predictions, gradients and actual parameter changes. Compare a failure and repair from the same checkpoint.
Try experimentRead the lessonMove a threshold, count different errors, and defend a decision using precision, recall and explicit costs.
Try experimentRead the lessonDraw repeated samples, inspect uncertainty and discover why more biased data can strengthen the wrong claim.
Try experimentRead the lessonTrace a limited review budget through two channels and compare who is missed, reviewed unnecessarily or absent from the evidence.
Try experimentRead the lessonChoose justified fields, examine provenance and permission, and build a practice data card with explicit handling limits.
Try experimentRead the lessonTurn results into bounded claims, identify missing evidence and draft a model card linked to your actual experiment.
Try experimentRead the lessonFit majority, nearest-neighbor and shallow-tree predictors; compare the same validation cases before adding complexity.
Try experimentRead the lessonMove a line over licensed flower measurements, inspect residuals and compare a fitted model with a mean baseline and shuffled labels.
Try experimentRead the lessonTrain a two-feature probability model, inspect its gradients and compare estimates with outcomes before choosing an action threshold.
Try experimentRead the lessonFit bootstrap trees, inspect their votes and out-of-bag coverage, and test whether shared mistakes survive a measurement shift.
Try experimentRead the lessonFit small trees to the mistakes left by earlier predictions, inspect each correction and choose complexity using separate development evidence.
Try experimentRead the lessonAlternate k-means assignments and center updates, then project onto a principal axis and inspect distinctions that vanish.
Try experimentRead the lessonFit a reference-distance detector, inspect unseen normal behavior and count false alerts when confirmed problems are rare.
Try experimentRead the lessonComplete a small ratings picture with predictions, compare simple and learned recommenders, and inspect cold start and exposure bias.
Try experimentRead the lessonInspect cross-validation folds, repair duplicate and time leakage, and fit preprocessing inside the training boundary.
Try experimentRead the lessonTurn a real-data comparison into a frozen, reproducible report with error examples and carefully bounded claims.
Try experimentRead the lessonTrain a tiny shape autoencoder, inspect its bottleneck and test why reconstruction does not guarantee useful generation.
Try experimentRead the lessonTrain a tiny probabilistic encoder and decoder, trace a noisy latent sample and compare reconstruction with KL regularization.
Try experimentRead the lessonFit a two-component mixture in separate EM steps and compare exact latent inference with a restricted variational approximation.
Try experimentRead the lessonTrain a small 2D noise predictor, inspect corruption arithmetic and manually step a frozen DDPM sampler.
Try experimentRead the lessonTrain a velocity field and compare Euler and Heun generation on the diffusion lesson’s four-mode target.
Try experimentRead the lessonTrain a shape-conditioned flow and compare guidance, validity and coverage at equal sampling work.
Try experimentRead the lessonTrain an actual tiny GAN, inspect discriminator gradients and compare missing modes with a reproducible diffusion reference.
Try experimentRead the lessonCompare fidelity, mode coverage, copying flags, task gates and licensed source receipts instead of trusting one score.
Try experimentRead the lessonChoose between uncertain rewards and discover why trying a new option can improve later decisions.
Try experimentRead the lessonTeach an agent a route, inspect a Q-learning update, and uncover a reward rule that rewards the wrong behavior.
Try experimentRead the lessonCompute values in a small looping decision process, separate policy evaluation from improvement, and compare exact expectations with sampled returns.
Try experimentRead the lessonHide a cart’s velocity, compare aliased observations and recover motion from a short exact history.
Try experimentRead the lessonTrain a puzzle policy from exact expert targets, inspect legal masks and compare proposals after a non-expert move.
Try experimentRead the lessonGenerate game experience, check it against exact rules, and use verified outcomes to change future decisions.
Try experimentRead the lessonCompare a logged behavior policy with a target policy using trajectory weights, coverage checks and bounded replay.
Try experimentRead the lessonTrain a small neural action-value model and compare replay sampling with delayed target networks.
Try experimentRead the lessonLearn a stochastic policy from sampled returns and inspect the variance of actual updates.
Try experimentRead the lessonTrain separate policy and value heads, trace their coupled updates, and audit a biased bootstrap.
Try experimentRead the lessonCompare raw and clipped probability-ratio objectives on the same frozen batch, and test the limits of clipping.
Try experimentRead the lessonTrain a bounded continuous actor and twin critics, and compare task reward with action-distribution entropy.
Try experimentRead the lessonFit policies from a fixed log, trace unsupported action values, and test a conservative objective against behavior cloning.
Try experimentRead the lessonCompare complete seed cohorts, data and fitting budgets, frozen checkpoints and task success under a misleading reward bonus.
Try experimentRead the lessonCompare a local shortcut with a procedure that explores alternatives and checks its result.
Try experimentRead the lessonCompare uniform-cost search and A* on a weighted map, audit estimates and reopen a location when a cheaper route arrives.
Try experimentRead the lessonBuild a small timetable, remove unsupported choices and compare backtracking with constraint propagation.
Try experimentRead the lessonUse sensor frequencies to distinguish detection from posterior probability and test how base rates and repeated evidence change a belief.
Try experimentRead the lessonBuild an eight-row joint distribution from local tables, test conditional independence, and separate observing a variable from intervening on it.
Try experimentRead the lessonTrack a hidden moving object by alternating motion predictions and noisy sensor updates, while keeping a distribution over possible positions.
Try experimentRead the lessonPropagate, weight and resample possible positions. Compare a seeded particle filter with exact inference and diagnose lost diversity.
Try experimentRead the lessonPlay a small stochastic game, reveal its search tree and compare adversarial planning, probabilistic planning and a policy learned from sampled returns.
Try experimentRead the lessonChange a causal graph, compare observed and randomized outcomes, and discover why a population effect does not determine an individual counterfactual.
Try experimentRead the lessonLearn transitions from observations, compare imagined and actual routes, and test when replanning helps.
Try experimentRead the lessonWatch distance information spread through a grid and discover why stable internal states can still be wrong.
Try experimentRead the lessonCompare direct action, search, and refinement under a shared planning budget, then test unfamiliar layouts.
Try experimentRead the lessonGenerate examples, filter them with a verifier, train a candidate, and protect earlier skills before promotion.
Try experimentRead the lessonTrain a shared neural network on two tasks, measure forgetting, and compare replay with a parameter-change penalty.
Try experimentRead the lessonOptimize a starting weight for rapid adaptation, then evaluate adapted copies on a task excluded from meta-training.
Try experimentRead the lessonSpecify an assistant’s inputs, scope, permissions, evidence and stopping rules before choosing a model or adding tools.
Try experimentRead the lessonPropose structured calls, inspect independent runtime checks, and recover from simulated failures.
Try experimentRead the lessonCompare prose, structured records, and vectors; diagnose lost information and mismatched coordinate meanings.
Try experimentRead the lessonTrain an adapter from paired vectors, expose missing information, and propagate messages through typed relations.
Try experimentRead the lessonCompare frozen, adapter-only, partial, and joint training while checking an existing consumer for regressions.
Try experimentRead the lessonTrace document-induced proposals and enforce a task-specific runtime boundary without confusing permission with correctness.
Try experimentRead the lessonCompare keyword and learned-vector retrieval, change passage boundaries, and inspect what a ranking score can and cannot tell you.
Try experimentRead the lessonBuild an extractive answer with precise citations, reject unsupported claims, and make conflicts and missing facts visible.
Try experimentRead the lessonControl a three-slot event workspace and compare shared processing with a fast local response loop.
Try experimentRead the lessonCompare similarity with exact and evidence-aware retrieval, age records, and consolidate a carefully scoped procedure.
Try experimentRead the lessonCompare acting now with gathering evidence, then follow each observation to a different next action.
Try experimentRead the lessonSchedule dependent tasks, repair a stale-file conflict, and execute a bounded verification skill.
Try experimentRead the lessonExpose selection bias, compare specialists on the same contexts, and check confidence against outcomes.
Try experimentRead the lessonTrain a 6 → 8 → 5 network, inspect its action probabilities, and compare it with a strong rule under the same tool budgets.
Try experimentRead the lessonRun an assistant through a fixed case suite and diagnose retrieval, evidence, tool and runtime failures separately.
Try experimentRead the lessonExpose a hidden regression, set release gates, and promote or restore a version with its evidence attached.
Try experimentRead the lessonSelect a lucky benchmark winner, remove components, and compare step accuracy with whole-workflow reliability.
Try experimentRead the lessonTrace a proposal through a controller, checked execution, episode memory, and a separately updated world model.
Try experimentRead the lessonTrain a policy/value network, compare search and memory, freeze a rule-transfer test, and plan a disciplined research program.
Try experimentRead the lessonMove a two-link arm, express points in named frames and distinguish ideal reach from verified motion.
Try experimentRead the lessonCompare fixed and moving axes, matrix and quaternion descriptions, and the limits of a projected 3D picture.
Try experimentRead the lessonPredict small tool movements, inspect missing directions and compare inverse velocity proposals.
Try experimentRead the lessonFind alternative target-reaching postures and separate geometric reach, joint limits and obstacle contact.
Try experimentRead the lessonTune an ideal cart controller and inspect overshoot, velocity damping and delayed measurements.
Try experimentRead the lessonTrain a small force controller, then compare continuous outputs, discrete choices, noise and saturation.
Try experimentRead the lessonInspect runtime rejection, delayed observations and bounded fallback without equating a stopped task with success.
Try experimentRead the lessonDistinguish noisy sensor readings, delayed information, filtered estimates and simulator truth.
Try experimentRead the lessonPredict motion, correct with sensors and inspect the uncertainty assumptions of a linear Kalman filter.
Try experimentRead the lessonCompare force and position commands, friction limits and the forces needed to hold a load.
Try experimentRead the lessonSearch joint-space waypoints, try shortcuts and independently verify the full motion.
Try experimentRead the lessonKeep learned proposals separate from action checks, watchdogs, collision prevention and latched braking.
Try experimentRead the lesson