Inspect what a model misses
Use residuals to identify a systematic model mismatch.
Learning outcome: Compare observed and predicted positions with consistent units.
Starting recap
A residual is observation minus prediction. Its pattern can reveal a missing relationship.
All lessons are open directly. Your saved experiments remain when you leave and return.
Try
A linear position model is compared with a synthetic cart whose motion includes acceleration.
Open the experimentPredict
Will changing only the linear coefficient remove all residuals?
Experiment
Tune the linear coefficient with quadratic coefficient zero. Then compare a quadratic model.
Compare a model with observations
Worked teaching model · synthetic values · Four synthetic positions follow y = 2t + 0.5t² exactly. They contain no measurement noise. Matching this curve is not evidence that a real cart follows it.
Reset keeps your prediction, captures and practice history.
| Row | Quantity | Value (m) |
|---|---|---|
| 1 | Observed at 1 s | 2.5 |
| 2 | Predicted at 1 s | 2 |
| 3 | Observed at 2 s | 6 |
| 4 | Predicted at 2 s | 4 |
| 5 | Observed at 3 s | 10.5 |
| 6 | Predicted at 3 s | 6 |
| 7 | Observed at 4 s | 16 |
| 8 | Predicted at 4 s | 8 |
Root mean squared residual: 4.704 m.
Prediction = linear coefficient × t + quadratic coefficient × t². Residual = observation − prediction. Four tuning points are development evidence; reserve another condition to test transfer.
Captures preserve recipes and replay their calculated results. They are synthetic model evidence, not physical measurements.
Understand
Apply
Public practice checks a specific claim. It does not establish independent mastery.
Identify the tuning data and state why fitting them is not an independent test.
Continue
Completion requires a saved prediction, at least one capture and a reflection. Presence checks do not grade your reasoning.
Skipping retains experiments and awards no mastery.
Save a science backup or import one
Science work is stored locally in this browser, separately from mathematics and AI. It does not sync automatically. Use this science-only backup; this checkout's older all-subject export does not include science.
A legacy file is available only when the complete snapshot fits the 36 MB limit. For larger snapshots, prepare a complete file set below; never discard notebooks to make a smaller file.
Matching imported notebook drafts replace their current drafts. Omitted lessons and known first attempts remain. Export your current work first if you want to retain both drafts.
Complete file sets and course backups
A file set can hold more work than one science file. Keep its manifest and every part together. Each file is limited to 36 MB. This format needs this version of LearnAI or a compatible newer version; older versions can use only the legacy single-file backup above.
The set includes every saved science course and global continuation at this moment. Later edits need a new export. A conflicting tab exports its own visible work, which may differ from saved work in another tab.
0 file(s) selected. File order and filenames do not determine identity. Missing, changed or conflicting parts block the entire restore; no good part is applied by itself.
Science storage: loading. No account or remote computation is required.