For each room in the tiny-factory metaphor, name:
- the input it receives
- the output it produces
- the mathematical symbol for that output
Given:
- Compute
z - Compute
\hat{y} = \sigma(z) - If the target is
y = 1, compute the squared-error loss
Write the parameter-to-loss path for:
w1w2b
using words, not only symbols.
Why are these true?
Use both:
- one algebra sentence
- one metaphor sentence
Explain this in one plain sentence:
Without looking back, write the two three-word summaries for:
- forward pass
- backward pass
Run these examples in order:
cargo run --manifest-path code/Cargo.toml -p rust_ml_neuron --example 01_weighted_sum
cargo run --manifest-path code/Cargo.toml -p rust_ml_neuron --example 02_forward_pass
cargo run --manifest-path code/Cargo.toml -p rust_ml_neuron --example 03_one_step_trainingFor each example, write one sentence that connects the printed numbers to the lesson vocabulary.
- You can compute
zbut cannot explain why the sigmoid map comes next. - You describe the backward pass as "magic correction" instead of tracing loss back to each parameter.
- You mix up
Prediction,Target,Loss,Gradient, andAdjustmentas if they were the same kind of number. - You run the examples but cannot connect the printed values to the type names in
code/neuron.
- Draw the forward path first:
FeatureVector -> WeightedSum -> Prediction -> Loss. - For each parameter, ask which intermediate value it directly changes.
- Keep the three-word hooks nearby: forward is mix, squash, judge; backward is blame, trace, adjust.
- When an example prints a value, write the Rust newtype name beside the printed number.