For PNN networks there is one pattern neuron for each category of the target variable. The actual target category of each training case is stored with each hidden neuron; the weighted value coming out of a hidden neuron is fed only to the pattern neuron that corresponds to the hidden neuron’s category. The pattern neurons add the values for the class they represent
PNN is often useused in classification problems.<ref>http://www.mathworks.in/help/toolbox/nnet/ug/bss38ji-1.html</ref> When an Input is present, the first layer computes the distance from the input vector to the training input vectors. ItThis produceproduces a vector where its elements indicate how close the input is to the training input. The second layer sums the contribution for each class of inputs and produceproduces it'sits net output as a vector of probabilities. Finally, a compete transfer function on the output of the second layer picks the maximum of these probabilities, and produces a 1 (positive identification) for that class and a 0 for(negative theidentification) otherfor non-targeted classes.