Hashing Algorithms for Large-Scale Learning