Understand: Run a Comparison Someone Can Repeat
Optional arithmetic and percentage refresher — return to this activity
A reproducible comparison fixes data, models, fitting procedure, split and metric. A repeated computation is different from an empirical replication with new observations. Repeating this synthetic table checks procedure, not real cooling behavior.
Cooling comparison: synthetic measurement pack v1
All people, records and numbers in this pack are authored teaching examples. They are not records or performance claims about real organizations.
- S1 · At minutes 0–6, authored temperatures are 80, 68, 59, 51, 45, 40, 36 °C. They simulate an experiment, not physical measurements. Each value has a stated ±1 °C reading interval for the exercise.
- S2 · Initial temperature is 80 °C; recorded room temperature is 20 °C. A simplified baseline retains 0.8 of excess temperature each minute: T(t)=A+(80−A)×0.8^t. A is assumed room temperature in °C; t is whole minutes; T is predicted °C. The exponent 0.8^t means multiplying by 0.8 once for each minute; at t=0 the factor is 1. The fraction 0.8 is supplied, not fitted on monitoring data.
- S3 · A straight line is fitted by least squares to minutes 0–3 only. Least squares minimizes summed squared training residuals. Its slope is −9.6 °C/min and intercept 78.9 °C.
- S4 · Minutes 4–6 are exposed monitoring cases outside the fitting interval, not an untouched test. Residual = observation − prediction; MAE = mean absolute residual. The reading interval is not automatically a confidence interval.
- S5 · The physical form assumes a stable environment and cooling fraction. Changed cup, airflow or room temperature can invalidate it. A line extrapolated far enough can predict below room temperature.
- S6 · The downloadable standard-library Python starter records input identity, configuration, row roles, runtime, coefficients and errors. No random step is used, so no seed is required. Exact bytes across every platform are not promised.
Worked example
The recipe names cooling-v1, training minutes 0–3, monitoring 4–6, room assumption 20 °C, fraction 0.8 and residual convention. Both methods are scored on the same rows. Choosing A after inspecting monitoring errors must be recorded as development.
Your next action
Write a full comparison recipe, run both models, state a failure criterion and describe what a later physical replication would need to measure.
These are authored public practice cases. Retain your reasoning and uncertainty. A completed page does not establish independent proficiency.
Authored explanation · fixed examples, not a live experiment.
Fix input version, models and row roles
→Score both methods under the same metric
→Report configuration, results and limits together
Could another person repeat the procedure and identify its limits?