Chapter 19 of 22Part IV: Data, Media & Machine Intelligence
When Machines Learn to See
Each chapter features three guided investigations aligned with the book and Interactive Lab. Work through them in order, record predictions, and test edge cases.
Project 1 of 3 · v1-c19-p01
Find the edges
Lab section: 1. Find the edges · Related code: block-01.js, block-04.js
Objective: Investigate "Find the edges" experimentally in the Chapter 19 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 19 Interactive Lab and select "1. Find the edges".
Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
Inspect the corresponding JavaScript snippet(s) on the Chapter 19 Code page and trace how the algorithm computes the output.
Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "1. Find the edges" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 19.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 19 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Find the edges" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Find the edges" make visible that you would not notice from using a finished app?
Lab section: 2. Read a tiny digit · Related code: block-02.js
Objective: Investigate "Read a tiny digit" experimentally in the Chapter 19 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 19 Interactive Lab and select "2. Read a tiny digit".
Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
Inspect the corresponding JavaScript snippet(s) on the Chapter 19 Code page and trace how the algorithm computes the output.
Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "2. Read a tiny digit" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 19.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 19 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Read a tiny digit" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Read a tiny digit" make visible that you would not notice from using a finished app?
Objective: Investigate "Review matching errors" experimentally in the Chapter 19 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 19 Interactive Lab and select "3. Review matching errors".
Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
Inspect the corresponding JavaScript snippet(s) on the Chapter 19 Code page and trace how the algorithm computes the output.
Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "3. Review matching errors" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 19.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 19 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Review matching errors" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Review matching errors" make visible that you would not notice from using a finished app?