From: Winston on
Please help:

Would there be a formula to find the optimum number of neurons needed
for each of the layers in a 2 layer feedfor/backprop network.

as in:
net = newff([min max],[x y],{'tansig' 'purelin'});

what is the best way to determine 'x' and 'y', or more specifically
'x' as y is usually 1.

Many thanks