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). The hashing algorithm is the murmurhash3 from the digest package. Please see the README in https://github.com/wush978/FeatureHashing for more information.

Maintainer: Wush Wu <wush978 at gmail.com>

Author(s): Wush Wu*, Michael Benesty*

Install package and any missing dependencies by running this line in your R console:

install.packages("FeatureHashing")

Depends R (>= 3.1), methods
Imports Rcpp(>=0.11), Matrix, digest(>=0.6.8), magrittr(>=1.5)
Suggests RUnit, glmnet, knitr, xgboost, rmarkdown
Enhances
Linking to Rcpp, digest(>=0.6.8), BH
Reverse
depends
Reverse
imports
rFTRLProximal
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package FeatureHashing
Materials
URL https://github.com/wush978/FeatureHashing
Task Views
Version 0.9.1.1
Published 2015-10-18
License GPL (>= 3) | file LICENSE
BugReports https://github.com/wush978/FeatureHashing/issues
SystemRequirements C++11
NeedsCompilation yes
Citation
CRAN checks FeatureHashing check results
Package source FeatureHashing_0.9.1.1.tar.gz