Optimum classification of non-Gaussian processes using neural networks