Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Study guide: Part 2, Sessions 6 to 10 (Oct 12 to Oct 23)

Part 2 of the course has five sessions, and this guide has one section for each. Every section gives a take-home message, a short list of things you should be able to do, the terms you need, and where to review. Session 7 was a self-guided lab with no slides, so its section points to the four lab notebooks instead. Treat the “be able to” lists as a checklist and try each item on your project data before you reopen the slides. Each row of a “Numbers to know” table names its source: a slide deck and slide title, or a book section. It also says when the number comes from the speaker notes. If the slides and the book ever give a number differently, the guide says which measurement each one is. The guide ends with five ideas that run through Chapter 2, some open questions to test yourself, and the three questions that now close every assignment.

Session 6 (Mon Oct 12): Sampling, resampling, and irregular data

Changing the sampling of a record is a claim about what happened between samples. Know what one value stands for, low-pass filter before you subsample, fill only the gaps the noise bounds and flag what you filled, and resample blocks when the noise has memory.

You should be able to:

Key terms:

TermMeaning in this course
ReanalysisA fixed forecast model run forward in time and pulled toward the observations available at each step: a complete grid, also where nobody measured (2.5 “The dataset”)
Kalnay class BA reanalysis variable that observations affect directly but on which “the model also has a very strong influence” (Kalnay et al. 1996; 2.5)
ToleranceThe largest distance a nearest-neighbor selection may accept. Half the grid spacing, 1.25° on the 2.5° grid, turns a silent wrong cell into a KeyError (2.5 Part 3)
FingerprintA SHA-256 hash of a file’s bytes, or of the values and attributes of an array. A match proves you hold the same bytes as the recorded copy, not that the copy matches the provider’s original (2.5 Part 1)
RandomizationReassigning observations between two groups at random to build the distribution of a statistic under the null hypothesis that group labels do not matter (2.6 section 1.1)
BootstrapRedrawing a sample with replacement, at the original sample size, to estimate the sampling uncertainty of a statistic (2.6 section 1.2)
Monte CarloSimulating new data from a known or assumed statistical model rather than redrawing from a sample (2.6 section 1.3)
Nyquist frequencyf_N = 1/(2Δt), the highest frequency a series sampled at interval Δt can represent (2.6 section 3.1)
AliasingA frequency above the new Nyquist folds into a lower frequency when a series is subsampled, and looks like a signal that was never there (lec06 “Keep one sample a day”)
Anti-alias filterA low-pass filter applied before subsampling. A daily mean is a crude one (a 24-hour boxcar); scipy.signal.decimate applies a designed one (2.6 section 3.1)
Native and distributed resolutionWhat the instrument or model sampled, against what the provider publishes. Two neighboring grid cells can come from the same measurement (lec06 “Native and distributed resolution”)
MasconA mass concentration: one of the 4,551 equal-area 3° caps behind JPL’s 0.5° GRACE grid (lec06 “Native and distributed resolution”, notes)
Gap policyA stated threshold: fill gaps the noise bounds, mask longer ones as missing, write the threshold down (2.6 section 3.2)
Filled flagA column that marks each filled value and the method that filled it, as FLUXNET2015 and ESA CCI soil moisture distribute (2.6 section 3.2b)
Per-site anomalyEach well’s (or station’s) value minus its own mean, so datum offsets cancel before averaging (2.6 section 3.3)
Inverse-variance weightWeight 1/σ² per observation, which minimizes the variance of the combined estimate (2.6 section 3.3)
Moving-block bootstrapResampling contiguous blocks of residuals so each resample keeps the noise correlation up to the block length (2.6 section 3.4)

Numbers to know:

QuantityValueSource
Grid shape, NCEP/NCAR air temperature, 2013 to 20142,920 × 25 × 53lec06 “Arrays that know their coordinates”; 2.5 Part 1
Seattle’s cell vs what nearest returns on the converted copy47.5° N, 237.5° E vs -30° (Atlantic, about 6,500 km away)lec06 “Which cell is Seattle?”, notes; 2.5 Part 3
Daily sea level, RMS error: midnight sample vs daily mean0.59 vs 0.02 mlec06 “Keep one sample a day”; 2.6 section 3.1
Nooksack River, 16 Nov 2021: USGS daily mean vs instantaneous peak1,413 vs 1,594 m³/s (11% low)lec06 “One sensor, two samplings”; 2.6 section 3.1b
15-minute readings in the November 2021 file2,885 = 2,880 + 4 (25-hour day) + 1 (off-schedule peak)2.6 section 3.1b
Same seismometer, 1 vs 40 samples/s channel24% less peak velocitylec06 “One sensor, two samplings”
JPL GRACE 0.5° grid cells vs independent mascons259,200 vs 4,551lec06 “Native and distributed resolution”
Gap threshold for the synthetic GNSS station; daily noise10 days; 2.4 mmlec06 “Gaps: interpolation is a decision”; 2.6 section 3.2
150-day outage across a 25 mm step, RMS error: linear / boosted trees / trajectory model with the catalog step8.1 / 21.7 / 2.8 mm2.6 section 3.2b; lec06 “Testing a machine-learned gap filler”, notes
Same fillers on gaps hidden at random away from the earthquake1.6 to 3.1 mm2.6 section 3.2c
Biomass map R²: random vs spatial cross-validation (Ploton et al. 2020)0.53 vs 0.14lec06 “Testing a machine-learned gap filler”
1997 to 2012 warming trend: unfilled vs kriged (Cowtan and Way 2014)0.064 vs 0.108 °C per decadelec06 “Two cases where the filling choice changed the result”
25-well network, RMS error: naive mean vs anomalies with weights2.42 vs 1.42 mlec06 “The irregular stream”
Velocity uncertainty: day-by-day vs 100-day block bootstrap±0.019 vs ±0.148 mm/yr; truth 8.6σ vs 1.1σ awaylec06 “Error bars for noise with memory”; 2.6 section 3.4

Where to review: Session 6 slides; 2.5 Gridded data, Parts 0 to 5 and “What to carry forward”; 2.6 Resampling methods, sections 1.2, 2.1, and 3.1 to 3.4.

Session 7 (Wed Oct 14): Explore your system’s data (self-guided lab)

Before you analyze a record, confirm that your file is the one the provider served, know what the instrument or model sampled, and measure how each problem in the record biases the quantity your field cares about. Some damage cannot be cleaned away.

All four tracks have the same parts in the same order, so teammates on different tracks can compare part by part (lab_s07_start_here “The parts”):

PartWhat you do
0The system, a map and the guiding question; one prediction before any code
1Pull the raw data from the provider, compare it with the course copy (size, number of records, first and last records, fingerprint), read the native resolution and the processing between sensor and file
2A table: what a row records, units, missing values and flags, limits, one real extreme against one error
3A 1D array: a time series, its sampling, its gaps and one real sensor problem
4A 2D array: axes, coordinates, resolution, the structure the physics predicts (optional)
5A synthetic twin with problems planted by your NetID: list, hunt, clean, compute the derived quantity three ways (truth, as given, after cleaning), reflect on what cleaning cannot undo
6Correlations on the real data: expected sign first, Pearson and Spearman, the trap that matters in your system
7From data to a learning problem: the ordered chain of steps with a reason for each, the task and target, a split with no leak, balancing after the split
8A short comparison with an AI tool on your twin (optional)

You should be able to:

Each track, with its derived quantity and its trap:

TrackSystem and dataDerived quantity, three ways (Part 5)Trap in the correlations (Part 6)Learning problem (Part 7)
VolcanoMount St Helens, 2004 to 2008: ComCat catalog and six hours of seismometer HSR, 2.5 km from the ventThe drumbeat clock: rate per hour, median spacing, coefficient of variation of the spacingCatalog completeness, overlapping events, a count that barely varies (a clock), a unit changeEruption days as a rare class with a time split; a skewed magnitude target
Soil moistureUSCRN station at Turnbull National Wildlife Refuge, 2015 to 2024, five depthsResponse to rain at 5 cm: rise in water content per 10 mm of rainA shared seasonal cycle (warm months are dry months); effective sample sizeTomorrow’s change at 5 cm, or dry spells at 20 cm
Land-surface modelCPC one-layer soil water and gauge precipitation, 0.5° grid, western United States, 1991 to 2020Drought frequency: percent of 2011 to 2020 cell-months below the 1991 to 2010 20th percentile of the same cell and monthSeasonal cycle, lag, autocorrelation, and a model driven by precipitation must correlate with itEmulate the model (regression) or classify drought months
Planetary scienceNASA Exoplanet Archive tables and the TESS light curve of HD 209458, sector 56Transit depth and planet radius, √depth × R★ × 109.08 Earth radiiSelection: which planets get a measured mass, and how the share of giants among measured rows changes the correlationIs this TESS Object of Interest a planet? Classification with follow-up verdicts as labels

Key terms:

TermMeaning in this course
Synthetic twinA record built to look like your real data, with a known truth and problems planted by your NetID. Keep it apart from the real record and say so whenever you quote a number from it (lab_s07_start_here “The parts”)
Derived quantityThe number your field computes from the record (drumbeat clock, rain response, drought frequency, transit depth), measured on the truth, the file as given, and your cleaned file
Calibration changeA change in instrument gain recorded only in the metadata: HSR’s scale drops tenfold on 5 October 2004, so equal counts before and after mean ground motions ten times apart (lab_s07_volcano Part 1)
Coefficient of variation (CV)Standard deviation of the spacing over its mean: near 0 for a clock, near 1 for a random (Poisson) process (lab_s07_volcano Part 5)
AnomalyA value minus the mean of its calendar day or month, which removes the shared seasonal cycle (lab_s07_soil_moisture and lab_s07_land_surface_model Part 6)
Effective number of pairsn_eff = n(1 - r₁r₂)/(1 + r₁r₂), with r₁ and r₂ the lag-one autocorrelations of the two series (Bretherton et al. 1999)
Class weightThe count of the common class over the count of the rare class, computed on the training set only, after the split (lab_s07_volcano Part 7)
Course AI modes in the lab🔒 By hand: no AI tool for the judgment in that step. 🔍 Agent, then verify: the tool writes, you check (lab_s07_start_here “The parts”, AI assistance; 1.8)

Numbers to know:

QuantityValueSource
Course data files checked by check_snapshots.py27lab_s07_start_here “Set up before you start”
Mount St Helens catalog, 2004 to 200811,305 eventslab_s07_start_here “Choose your track”
Drumbeat spacingabout 20 s until 12 November 2004, then about 40 s; daily averages 40 to 80 s until April 2005 (Moran et al. 2008)lab_s07_volcano Part 0
Turnbull daily record3,653 days at 5, 10, 20, 50 and 100 cmlab_s07_start_here “Choose your track”
Baseline drought months in the land-surface track20% of 1991 to 2010 months, by constructionlab_s07_land_surface_model Part 5 (c)
Planet tables6,445 confirmed planets; 8,148 TESS Objects of Interestlab_s07_start_here “Choose your track”

Where to review: Session 7: start here; the four tracks volcano, soil moisture, land-surface model and planetary science. Parts 1, 5 and 6 of your own track matter most; read Part 5 of one other track to see the same steps on a different system.

Session 8 (Fri Oct 16): Repairing real data streams

A repair counts when an independent measurement confirms it. Choose the filter phase for the task, filter each segment on its own and leave gaps missing with a guard interval, measure clock errors against a reference, and write every step into the processing history.

You should be able to:

Key terms:

TermMeaning in this course
Causal filterUses only present and past samples (sosfilt): nothing appears before the input, but each frequency is shifted differently (2.9 Part 2)
Zero-phase filterRuns forward then backward (sosfiltfilt): no delay, but a symmetric response that puts energy before a sharp onset, and a stopband that falls off twice as fast (2.9 Part 2; lec08 notes)
Group delay, phase delayThe delay of a short pulse’s envelope and of a wave train’s cycles. Near 1 Hz in the 1 to 10 Hz causal filter they are +0.27 s and -0.25 s (2.9 Part 2)
Second-order sections (sos)The numerically stable form of a Butterworth filter, signal.butter(..., output="sos") (2.9 Part 2)
StepA jump in the raw record from the instrument or digitizer, not from the ground. Its time is known from the raw samples, which makes it a test of what a filter does (2.9 Part 1)
Zero-fillFilling missing samples with zeros, which turns each gap edge into a step the size of the record’s value there (2.9 Part 3)
Guard intervalThe stretch at each segment edge to leave out of later analysis because the filter still remembers the edge (2.9 Part 3)
Common modeMotion shared by all stations of a network, such as reference-frame or orbit error (lec08 “GPS common mode and a reported precursor”)
Clock offset, clock driftA constant lag against a reference, and a lag that grows with time. Both are corrected segment by segment between clock resets (lec08 “Clock drift on the Moon and at a flux tower”, notes)
SkewThe clock difference measured when an ocean-bottom seismometer is recovered (lec08 “Seafloor clock drift”)
Processing historyThe record that travels with the data: filter type, corners, poles, causal or zero-phase; gap start, end, fill value and guard interval; timing reference, lag, drift and correction applied (lec08 “Three problems and their corrections”)

Numbers to know:

QuantityValueSource
Zero-phase output ahead of the step at 755.09 s1,718 counts against a 45-count background; starts 0.52 s early counting a small lobe of opposite sign, about 0.2 s early at a 25% thresholdlec08 “Zero-phase and causal filters at a step”; 2.9 Part 2
Planted 20 s zero-filled gap, RMS edge error over 0 to 2 s: filtered across vs each segment alone185 vs 1.75 times the local signallec08 “A 20 s zero-filled gap”; 2.9 Part 3
Guard interval, 1 to 10 Hz bandabout 2 s, two periods of the 1 Hz cornerlec08 “A 20 s zero-filled gap”
Real 40 s gap at RATT, 21 Jan 2021, zero-filledpeak edge error 13 times the local signal, for about 1 s (a peak, not the RMS of the planted test)lec08 “A real 40 s telemetry gap”, notes
Archived days with a gap at RATT in 202173 of 352lec08 “A real 40 s telemetry gap”
Planted clock shift recovered by correlation+0.50 s (50 samples)lec08 “A 0.5 s clock shift”; 2.9 Part 4
US.HDIL timing error, early 2023+270 s by February; Kahramanmaraş P wave +269.9 s at HDIL vs +1.2 s at P43Alec08 “A 270 s timing error at US.HDIL”
Ocean-bottom station O01already 0.31 s off at deployment; fitted drift -0.73 vs skew-line -1.01 s/yrlec08 “Seafloor clock drift”
TGUA north velocity: straight line vs NGL MIDAS+6.8 vs -7.1 ± 0.2 mm/yr; the 2012 mount change moved the station +218 mm northlec08 “Outages and an antenna offset”
Norcia 2016 GPS permanent offsets (north, east, up)-14, -10, -40 cm; the high-pass filtered accelerogram ends near 0lec08 “Filtered accelerogram and GPS”
Apollo data rejected as damaged; fill value0.3%; -1, while the trace sits near 512lec08 “Apollo 12 record with bad frames removed”
Tanana River estimates under ice391 values flagged “e”; the open-water rating gives a median 2.5 times the estimatelec08 “Estimated discharge under ice”

Where to review: Session 8 slides, especially the summary slide “Three problems and their corrections”; 2.9 Filtering and repairing records, Parts 1 to 5 and Exercise 2 (the guard interval in a 0.1 to 1 Hz band).

Session 9 (Wed Oct 21): Noise, signal and synthetic data

Most of what you remove as noise is someone else’s signal, and calling it noise is a decision tied to your question. Describe each contribution by its source, spectrum and distribution, then build synthetic data with a known answer to measure what each one does to your result.

You should be able to:

Key terms:

TermMeaning in this course
Nuisance signalA real contribution from another physical or human source that overlaps your signal in time, frequency, space or class (lec09 “Instrument problems and nuisance signals”)
ColorThe shape of the power spectrum, P(f) ∝ f^slope (lec09 “Two transients in four colors of noise”, notes)
White noiseEqual power at all frequencies; each sample independent of the last
Flicker (pink) noisePower ∝ 1/f with no corner; typical of GNSS position series and many climate records (2.10 section 5.1)
AR(1) noisex_t = φx_{t-1} + e_t: white at long periods, falling as about 1/f² above a corner. Climate papers call it red noise (2.10 section 5.1)
Random walk (Brownian noise)Summed white noise, power ∝ 1/f²; called red in physics. A drifting monument, a clock (lec09 notes)
Excess kurtosisThe fourth standardized moment minus 3; 0 for a Gaussian, large for records with heavy tails or a short transient (2.10 section 3.4)
SNR, course definitionPeak absolute amplitude of the signal over the standard deviation of the noise (2.10 section 3.2). Papers use other definitions (matched filter, power ratio), so state which one you quote (lec09 “Detection floors”, notes)
Spectrum-matched noiseSynthetic noise with the amplitude spectrum of a real record and random phases (mlgeo_synth.spectrum_matched_noise, 2.10 section 4.1)
Primary and secondary microseismOcean-wave pressure coupled into the ground: the primary where waves shoal on the coast at their own period, the secondary at about half the period, where opposing waves interact (lec09 “Colored noise at RATT”, notes)
Decorrelation noiseAdditive InSAR phase noise that grows as coherence between the two radar dates drops (lec09 “One deformation bowl”, notes)
SpeckleMultiplicative, gamma-distributed fluctuation of radar intensity from interfering echoes (lec09 “Transforms change the noise”)
Random vs class-dependent label noiseFlips to any class with equal probability, against flips that push one class into another, as quarry blasts listed as earthquakes (lec09 “Wrong labels”; Frénay and Verleysen 2014)
STA/LTAShort-term over long-term average detector (Allen 1978); the classical baseline any learned detector must beat (2.10 section 4.4)
Detection floorThe SNR at which detection becomes reliable at a stated false-alarm rate (2.10 section 4.4)

Numbers to know:

QuantityValueSource
UW.SP2, 22 Feb 2024: day vs night, 1 to 10 Hz; microseism band+9.8 dB (9.5 times); -1.5 dBlec09 “One day of ground motion at Seward Park”
Best-case SNR of a slow transient at equal variance: white / flicker / random walk67.7 / 4.9 / 1.7lec09 “Two transients in four colors of noise”
GPS vertical noise at tide gauges, median spectral index (Gravelle et al. 2023)-0.94lec09 “Colored noise at RATT and in GPS positions”
Same 6 mm noise, correlation with the true deformation bowl: white vs correlated0.62 vs 0.50lec09 “One deformation bowl under three kinds of 2D noise”
Accuracy cost: 30% random flips vs 16% class-dependent flips2.4 vs 11.8 points; explosion recall 91% to 54%lec09 “Wrong labels, random and class-dependent”
Template E, 15% of labels wrong, all blasts called earthquakesearthquake day-to-night ratio 1.74 vs true 1.03; nearest-mean accuracy 0.76lec09 “Build a synthetic version”, notes; 2.10 section 5.6
Share of seismic moment in the 2001 Nisqually earthquake98.8% of 5,680 eventslec09 “Distributions of values, synthetic and real”
Kepler-150 f: star variability vs transit depth10.9 vs 1.5 mmaglec09 “Instrument problems and nuisance signals”
STA/LTA threshold from 200 noise-only windows99th percentile 6.09 (1% false alarms by design)lec09 “Detection floors measured on synthetics”; 2.10 section 4.4
STA/LTA 50% detectionamplitude SNR 4.97lec09 “Detection floors measured on synthetics”
Thomas et al. (2023) training set822,256 synthetic signals with 729,303 real noise recordslec09 “Building synthetic data with known truth”
Template B drydown time scale (truth)12 days2.10 section 5.3

Where to review: Session 9 slides, especially “Instrument problems and nuisance signals” and the summary table “Noise types across the course data”; 2.10 Synthetic noise, sections 3.2 to 3.4, 4.1, 4.4, 5 (your team’s template and the reflection in 5.7) and 7.

Session 10 (Fri Oct 23): AI-ready data

A dataset is AI-ready when it supports training a model and testing whether it works somewhere new. Score it on the 11 criteria with evidence another team can check, count independent units rather than rows, and name the axis along which the test set lies outside the training domain.

You should be able to:

The rubric, as 2.13 section 1 prints it. Each criterion scores 0 missing, 1 present but incomplete, 2 another team can verify it, the scale of the Session 2 rubric:

CriterionWhat it asks
A1Provenancesource, version or retrieval date, license, citation; synthetic parts disclosed
A2Homogenizationconsistent units, reference frame, coordinates, time base and sampling; instrument or processing changes corrected or flagged
A3Quality and gapsquality flags, missing, sentinel and censored values, and their mechanism documented
A4Structure and metadatatidy tables or labeled arrays in a standard format, variables and units in a file a script can read
B1Diversityhow many independent units (stations, events, regions, years, instruments), not how many rows
B2Distributiondistribution of targets and inputs, imbalance and long tails, compared with the population the model will face
B3Noise characterizationinstrumental noise separated from natural variability; a noise level or SNR estimate
B4Augmentation potentialphysically valid transformations, and the ones that break the physics
B5Labelssource, quality, uncertainty, consistency; or the potential for self-supervised learning
B6Dimensionalitysamples against features, input shape, variance captured by a few principal components
B7Partitioning potentialwithin-domain training and validation, out-of-domain test along a stated axis, leakage controlled

Key terms:

TermMeaning in this course
Analysis-readyA scientist can compute with the data without redoing the provider’s work: provenance, homogenization, documented quality and gaps, standard format (lec10 “Analysis-ready and AI-ready”)
AI-readyThe data also support training a model and testing whether it generalizes. In this course AI-ready and ML-ready name the same requirements (lec10 “Analysis-ready and AI-ready”)
Independent unitThe unit that carries new information: a station, an event, a region, a year. Consecutive days of one flood are not independent samples (2.13 B1)
Informative missingnessA value missing because of the value itself, as a gauge lost at a flood peak; every peak statistic is then biased low (2.13 A3)
Average precision (AP)Area under the precision-recall curve; a random guess scores the positive-class fraction (2.13 B2)
Valid augmentationA transformation whose result the instrument could have recorded (lec10 “AI readiness: what a model can learn from”)
Self-supervised learningTraining on structure in abundant unlabeled data (seasonality, recessions, continuous waveforms) before any label is used (2.13 B5)
Within-domain setTraining and validation drawn from the same domain; validation tests interpolation and is used to choose settings (2.13 B7)
Out-of-domain testA test set outside the training domain along a stated axis; it tests generalization along that axis only (lec10 “What each partition tests”)
Statistical axisDistance in feature space to the nearest training sample, with features standardized on training statistics only. Meyer and Pebesma (2021) call the inside the area of applicability (lec10 “B7”, notes; 2.13 B7)
Spatiotemporal axisA later period or a region or station the model never saw (2.13 B7)
Physical axisA different process, event size or physics, such as floods larger than any in training (2.13 B7)
Leakage by preprocessingA statistic computed on all the data before splitting (mean, PCA basis, percentile, imputation value, oversampling) carries test information into training (2.13 B7)
Agent version of the rubricThe same 11 criteria rewritten so an assistant must quote evidence for every score and write “not found”, scored 0, when there is none (lec10 “The rubric, written for an agent”)

Numbers to know:

QuantityValueSource
Forest biomass map R², random vs spatial cross-validation (Ploton et al. 2020)0.53 vs 0.14; close to zero beyond 100 km from training plotslec10 “Literature example: validating a forest biomass map”
AI-ready share of each archive by volume: ERA5 / seismic waveforms / Sentinel / GNSS1.8% / 0.43% / 0.08% / 0.0003%lec10 “How much of each archive is AI-ready?”
Catalog datasets that ship a held-out partition6 of 9lec10 “A catalog of AI-ready Earth-science datasets”
Synthetic gauge table21,916 rows; 4 gauges × 15 years; 185 floods2.13 B1 (executed output)
Flood-day fraction per gauge1.3% (G4) to 6.3% (G3)lec10 “AI readiness: what the samples contain”; 2.13 B2 (executed output)
SNR of the median flood13 to 402.13 B3
Threshold labeler against the generatoragreement 0.947, yet misses 54% of flood days2.13 B5 (executed output)
Variance in the first principal component of the 9 features0.7362.13 B6 (executed output)
AP: random split / validation / 2022 to 2024 / gauge G40.736 / 0.740 / 0.703 / 0.200lec10 “What each partition tests”, notes; 2.13 B7
Samples beyond the 95th-percentile distance: validation vs G46% vs 36%lec10 “What each partition tests”, notes; 2.13 B7
AP at G1: shuffled KFold / GroupKFold / TimeSeriesSplit0.730 / 0.707 / 0.640lec10 “What each partition tests”, notes; 2.13 B7
AP with oversampling before the split1.000, a score that measures nothing2.13 B7, “Leakage by preprocessing”
Floods above the 80th percentile: estimated over observed peakmedian 0.69 (random forest); 0.99 (linear model)2.13 B7, physical axis
One instructor’s score for the 2.13 dataset18 of 222.13 section 5 (executed output)

Where to review: Session 10 slides, especially “Analysis-ready and AI-ready”, the three AI-readiness slides and “What each partition tests”; 2.13 AI-ready data, sections 1 to 5; the rubric written for an agent (in the repository at book/slides/2026/files/ai_ready_rubric_for_agents.md), which you can copy into your project’s AGENTS.md.

Five ideas that carry Chapter 2

  1. Plant the truth, grade the method, then trust it on real data. The tide gauge, the GNSS outage, the damaged RATT copy, the Session 7 twins, the STA/LTA floor and the four synthetic gauges all let you measure an error because the answer was known.

  2. Keep what you changed visible. A NaN for a gap, a filled flag, a guard interval, a processing history and a statement that samples are synthetic let the next person, or the next model, tell measurement from repair.

  3. Find out what was done before you downloaded. USGS daily means, the digitizer’s anti-alias filter, the “e” estimates under ice, NGL’s step list and a reanalysis file that calls its lowest model level “Surface” all changed the number in the file before you opened it.

  4. Noise is defined by the question. Write down the source, the spectrum and the distribution of each contribution you remove, and who would keep it.

  5. Count independent units and name the axis of your test. Random splits of correlated samples flatter the score: biomass plots (R² 0.53 against 0.14), random hidden gaps against the real outage, day-by-day against block bootstrap, validation months against gauge G4.

Check yourself

None of these has a single right answer. Write a paragraph for each, then compare with a classmate.

  1. For your project data, what is the native sampling, and what did the provider distribute? Name one quantity the distributed product cannot recover (lec06 “Native and distributed resolution”).

  2. Gaps hidden at random scored 1.6 to 3.1 mm, while the real 150-day outage cost linear interpolation 8.1 mm (2.6 section 3.2c). Where do real gaps fall in your data, and how would you build a test set for a gap filler that respects that?

  3. In mid-March 2023 the daily noise correlation at US.HDIL read -69 to -78 s while an earthquake P wave gave 0 s (lec08 “A 270 s timing error”, notes). Which would you trust, and what independent timing reference exists for your own instrument?

  4. Name one contribution in your data that is noise for your question and signal for someone else. Describe its source, spectrum and distribution well enough that a teammate could synthesize it (lec09 “Noise types across the course data”).

  5. With 15% of labels wrong, template E kept a nearest-mean accuracy of 0.76 while the earthquake day-to-night ratio rose to 1.74 against 1.03 (2.10 section 5.6). Which science quantity in your project would a class-dependent label error bias even if the model’s score barely moved?

  6. Score your project dataset on B1 and B7. What is the independent unit, and along which axis (statistical, spatiotemporal or physical) will your test set lie outside the training domain?

  7. In 2.13 a random forest estimated floods above its training range at a median 0.69 of their observed peak. What is the largest event in your record, and how would you test a model on events larger than any it was trained on?

Reflect on each assignment

Every assignment now ends with short written answers to three questions:

  1. What did you learn from this exercise?

  2. What did you learn from interacting with agents or chatbots?

  3. What would you suggest to improve this assignment so it meets its learning goals?

A few sentences each are enough. Name one number, figure or exchange from your own work in each answer.