Stochastic Algorithms For Large Scale Machine Learning