Forecasting Market Changes using Variational Inference