Bundle Methods for Machine Learning