Fast learning algorithms for neural networks