CRAN/E | FeatureHashing

FeatureHashing

Creates a Model Matrix via Feature Hashing with a Formula Interface

Installation

About

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 for more information.

github.com/wush978/FeatureHashing
Bug report File report

Key Metrics

Version 0.9.2
R ≥ 4.0
Published 2024-01-10 107 days ago
Needs compilation? yes
License GPL (≥ 3)
License File
CRAN checks FeatureHashing results

Downloads

Yesterday 11 -52%
Last 7 days 79 +16%
Last 30 days 282 -8%
Last 90 days 874 -24%
Last 365 days 3.772 -17%

Maintainer

Maintainer

Wush Wu

wush978@gmail.com

Authors

Wush Wu

aut / cre

Michael Benesty

aut / ctb

Material

README
ChangeLog
Reference manual
Package source

Vignettes

FeatureHashing
Sentiment Analysis via FeatureHashing

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

FeatureHashing archive

Depends

R ≥ 4.0
methods

Imports

Rcpp ≥ 0.11
Matrix
digest ≥ 0.6.8
magrittr ≥ 1.5

Suggests

RUnit
glmnet
knitr
xgboost
rmarkdown
pROC

LinkingTo

Rcpp
digest ≥ 0.6.8
BH ≥ 1.54.0-1