Feed-Forward and Recurrent Neural Networks in Signal Prediction