Furthermore, in perceiving patterns such as voices or characters by a selective attention method using a neural network, in a learning pattern of a weighted value of the neural network in a pattern recognition method using a multi-layer perceptron which is an feed-forward neural network, wherein the selective attention method comprises the steps of: (i) optionally selecting a target value t=[tl, .