c19 · E2

Derive: Neural Networks: Simple Parts, Stacked

c19.E2.1E2 · expression

Section 19.3 builds XOR from two hidden units that answer AND and OR, and section 19.4 says that a composition of linear maps is a linear map. Replace both hidden step functions by the identity, keep the nine weights of the construction, and keep the output step. The hidden answers then equal their weighted sums.

Show that for any nine weights the output pre-activation is an affine function of the input, and give and in terms of the weights. Evaluate and for the weights of section 19.3 and list the four outputs. Then explain why no choice of the nine weights can produce XOR once the two hidden nonlinearities are removed.

This tier asks for a derivation, so there is no automatic checker. Write your answer, then open the worked solution and compare.

c19.E2.2E2 · expression

Section 19.1 warns that a correction for one example can push a correctly classified example across the boundary. Make the warning concrete. Start with weights and bias . The three points are , and , and all three carry the label . Present first, apply the rule once, and stop.

Count the errors before the update and after it. Derive the condition on a correctly classified point , labelled , under which the correction for a point pushes across the boundary. Show that the score of the offending point rises by the squared length of .

This tier asks for a derivation, so there is no automatic checker. Write your answer, then open the worked solution and compare.

c19.E2.3E2 · expression

Section 19.6 runs three steps on from with learning rate . Derive the closed form Use it to reproduce the three printed values, to state the exact range of for which the iterates converge, to give the rate that lands on in one step, to describe the behaviour at , and to find the number of steps at from until .

This tier asks for a derivation, so there is no automatic checker. Write your answer, then open the worked solution and compare.

Other tiers

E1 Practise · E3 Open

Every hint opened, solution viewed and answer checked is recorded in this browser only. See Progress to export or delete it.