Lesson 3 of 3 · Preprocessing and independent evidence
Preserve the signal you compare
20 minute lesson · 3 checks along the way
Your goal for this lessonExplain a template-ranking reversal caused by preprocessing and retain the evidence needed to interpret it.
In this lesson 3 sections · 3 checks
Read & understand
Two comparisons can answer different questions
Consider a new invented query Q=[1,2,1] and two templates A=[5,6,5] and B=[1,1,1]. Values use one consistent, dimensionless scale. Retain the same closed endpoints, absolute-difference costs and unweighted steps from lesson one. We will compare raw levels first, then subtract each sequence’s first value from every value in that sequence. This second operation removes the initial level; it does not change observation dates or supply missing measurements.
For the raw sequences, the minimum alignment cost to A is12 and to B is1. A diagonal path to A costs4+4+4=12; the dynamic calculation confirms no cheaper allowed complete path. A diagonal path to B costs0+1+0=1. The middle query value must be paired at least once and differs from every B value by1, so zero cannot be achieved. Under this raw-level objective, B is the closer template.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Remove a level and watch the ranking change
After subtracting initial values, Q becomes[0,1,0], A becomes[0,1,0] and B becomes[0,0,0]. The minimum costs are now0 for A and1 for B. A has become the closer template because the transformation deliberately removed the four-unit offset separating its original level from Q. The raw ranking was not an arithmetic error, and the transformed ranking is not automatically more truthful. They use different evidence.
The transformation may be useful if initial level is a justified nuisance for the stated task. It may be harmful if that level helps distinguish the categories of interest. A noisy first observation also affects every transformed value, because the same measured baseline is subtracted from each. For real radar data, the meaning of such an operation depends on the units and representation. This dimensionless exercise does not prescribe subtracting physical backscatter values, nor does it claim that DATOS used this preprocessing.
Remove a level, change the winner
Original dimensionless comparison with the same unweighted alignment rule throughout. Subtracting initial values removes level information; the changed ranking is not independent class validation.
Open full-size diagram in a new tab: Remove a level, change the winnerRead diagram data as a table
| Input treatment | Cost to A | Cost to B | Preferred template |
|---|---|---|---|
| Raw values | 12 | 1 | B |
| Subtract own first value | 0 | 1 | A |
Original dimensionless comparison with the same unweighted alignment rule throughout. Subtracting initial values removes level information; the changed ranking is not independent class validation.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Keep a comparison record that can be challenged
A reproducible result retains the original sequences and acquisition dates, quality flags, preprocessing rule, local distance, permitted steps, endpoint convention, time constraint and chosen template. Record the accumulated cost and path together. Do not turn a score of0 or1 into a probability or a percentage of correct classification: our model supplies neither a calibrated probability nor a validation sample. If costs from different preprocessing pipelines are compared, explain why their scales and retained information are comparable first.
For a useful test, freeze the pipeline before examining independent field labels and evaluate the intended classes and dates. Template construction, setting selection and final evaluation should not all reuse the same observations as though they were new evidence. When information is insufficient, retain an unresolved result instead of forcing a crop name. DATOS provides the historical application context; our exercise teaches how to inspect an alignment claim without replacing local expertise or independent observations.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.