Chapter 20 of 22 Part IV: Data, Media & Machine Intelligence

Inside the Mind of Artificial Intelligence

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-c20-p01

Teach a tiny model

Lab section: 1. Teach a tiny model · Related code: block-01.js, block-04.js

Objective: Investigate "Teach a tiny model" experimentally in the Chapter 20 Interactive Lab and connect the observed behavior to the chapter's underlying rule.

Procedure

  1. Open the Chapter 20 Interactive Lab and select "1. Teach a tiny model".
  2. Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
  3. Inspect the corresponding JavaScript snippet(s) on the Chapter 20 Code page and trace how the algorithm computes the output.
  4. 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. Teach a tiny model" 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 20.
Show Hint & Extension Challenge

Hint: Check the worked example and equation in the Chapter 20 Lesson before testing edge cases.

Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Teach a tiny model" and document what real-world standard addresses it.

Reflection Question: What real-world constraint or trade-off did "Teach a tiny model" make visible that you would not notice from using a finished app?

Project 2 of 3 · v1-c20-p02

Predict the next word

Lab section: 2. Predict the next word · Related code: block-02.js, block-05.js

Objective: Investigate "Predict the next word" experimentally in the Chapter 20 Interactive Lab and connect the observed behavior to the chapter's underlying rule.

Procedure

  1. Open the Chapter 20 Interactive Lab and select "2. Predict the next word".
  2. Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
  3. Inspect the corresponding JavaScript snippet(s) on the Chapter 20 Code page and trace how the algorithm computes the output.
  4. 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. Predict the next word" 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 20.
Show Hint & Extension Challenge

Hint: Check the worked example and equation in the Chapter 20 Lesson before testing edge cases.

Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Predict the next word" and document what real-world standard addresses it.

Reflection Question: What real-world constraint or trade-off did "Predict the next word" make visible that you would not notice from using a finished app?

Project 3 of 3 · v1-c20-p03

Ask a study assistant

Lab section: 3. Ask a study assistant · Related code: block-03.js, block-04.js, block-05.js

Objective: Investigate "Ask a study assistant" experimentally in the Chapter 20 Interactive Lab and connect the observed behavior to the chapter's underlying rule.

Procedure

  1. Open the Chapter 20 Interactive Lab and select "3. Ask a study assistant".
  2. Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
  3. Inspect the corresponding JavaScript snippet(s) on the Chapter 20 Code page and trace how the algorithm computes the output.
  4. 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. Ask a study assistant" 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 20.
Show Hint & Extension Challenge

Hint: Check the worked example and equation in the Chapter 20 Lesson before testing edge cases.

Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Ask a study assistant" and document what real-world standard addresses it.

Reflection Question: What real-world constraint or trade-off did "Ask a study assistant" make visible that you would not notice from using a finished app?