Neural Network Capstone Checkpoint

Check XOR expressiveness, forward shapes, gradient reduction, and training diagnostics.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. On the four equally weighted XOR rows, the score x1+x2-0.5 predicts 1 when nonnegative. What accuracy does it achieve?

Select one answer.

2. X has shape (5,2), W1 is (2,3), and W2 is (3,1). Which expression and shape are correct for hidden preactivations?

Select one answer.

3. For one example with target 1 and predicted probability 0.8, what is the unaveraged output-logit error p-y? Enter a decimal.
4. Every batch row and target is duplicated. Loss and all parameter gradients double. What convention was likely missed?

Select one answer.

5. A backward pass updates W2, then uses that updated W2 to propagate error to the hidden layer. Why is the hidden gradient wrong?

Select one answer.

6. There are two examples and two output columns; every individual binary loss is 0.5. Under this exercise's sum-over-outputs, mean-over-examples convention, what total loss is returned? Enter a number.
7. Training loss decreases, but finite differences disagree with hidden-layer gradients on non-saturated inputs. What should you do first?

Select one answer.

8. A training run records one pre-update loss in each of 10 epochs and returns the final weights. Which statement is correct?

Select one answer.

Join Discord