Start with an easy (w)in
Week 1
Short
Easy
Neural Networks
Solve interactively
(hidden units)2
Output perceptron
Reveal solution
There are multiple possible solutions, but a solution of this type will have 4 hidden units.
One way to arrive at a solution is to start with the first hidden unit with a slope of -4 and a y-intercept of 1.
This creates the downward line from (0,1) to (0.25,0). The line is then cut off by ReLU, which is why the line stops at (0.25,0).
The other tricky aspect is that if you start this way, the output of the third hidden unit will need to be multiplied by -1, which is why the weight from the third hidden unit to the output is -1.