I'm trying to understand some basic neural network stuff and I'm having problems with one thing:
Let's assume that we have to classify two classes: red and green dots. To do that I create three lines on a diagram:

It's easy to calculate functions responsible for them from diagram:
1: y = 1/3 * x + 2
2: y = 6/7 * x + 3/7
3: y = 1/3 * x - 3
Next step is to design neural network and assign weights:
And thats the part I'm not sure about. Input layer weights should be taken from equations?