Predict

refactoring of decoding/prediction; AdaGrad support; etc.