Feature Hashing in R



Can someone help me what “Hashing Trick” is? Also please direct me to any docs if any.
Thank You


Feature hashing is the encoding of multiple features into a single numeric ‘feature’ of a given range. Not really a feature, but a hash map. It’s particularly useful for compressing sparse matrices (matrices with many 0’s). For more information, read wikipedia’s hash table page and Hash Collision Probabilities.




Here is a link explaining feature hashing with good example in R code http://amunategui.github.io/feature-hashing/