Lossy Computation For Large-Scale Machine Learning