Resource-Efficient Machine Learning via Count-Sketches and Locality-Sensitive Hashing (LSH)