Hashing samples into bins, using Sketching as hash function. This function repeats hashing process L times by sampling M dimensions at a time and hashes samples into one of H bins.
Arguments
data
On which rarity score needs to be computed. Required to be a matrix. (can be converted to matrix with as.matrix)