Sequential Decision Making For Large Scale Machine Learning