FeatureHashing

Creates a Model Matrix via Feature Hashing with a Formula Interface

CRAN Package

Feature hashing, also called as the hashing trick, is a method to transform features of a instance to a vector. Thus, it is a method to transform a real dataset to a matrix. Without looking up the indices in an associative array, it applies a hash function to the features and uses their hash values as indices directly. The method of feature hashing in this package was proposed in Weinberger et al. (2009) doi:10.48550/arXiv.0902.2206. The hashing algorithm is the murmurhash3 from the 'digest' package. Please see the README in https://github.com/wush978/FeatureHashing for more information.

  • Version0.9.2
  • R version≥ 4.0 methods
  • LicenseGPL (≥ 3)
  • Needs compilation?Yes
  • Last release01/10/2024

Documentation


Team


Insights

Last 30 days

Last 365 days

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports4 packages
  • Suggests6 packages
  • Linking To3 packages