# neural network - target data

For the simple AND learning with a perceptron, it is required to have two inputs x1 and x2 and one target data y.

Most AND examples (such as in the book "Fundamentals of neural network-fausett") have this network topology in the figure above, that is 2 inputs(x1,x2) and 1 output(o). My question is, how do we give the network the target data (y) if there is only two inputs(x1,x2)?

• The target data is the desired value for the output. (x1,x2) match to the inputs, (y) matches to the output. Sep 27, 2016 at 20:05

x1    x2      y(desired output)