Automatic neural network
classification