Adaptive Stochastic Methods