Neural Networks for Prediction and Classification