Variational Inference for Data-driven Stochastic Programming