Methods For Large-scale Machine Learning And Computer Vision