Coding Theory for Large-Scale Machine Learning