Scalable Machine Learning for Visual Data