hash.mapping | R Documentation |
Extract mapping between hash and original values
hash.mapping(matrix)
matrix |
Matrix returned by |
Generate a mapping between original values and hashes.
Option create.mapping = T
needs to be used in function hashed.model.matrix
.
Original values are stores in the names of the vector.
a named numeric
vector
Michael Benesty
data(ipinyou)
m <- hashed.model.matrix(~., ipinyou.train, 2^10, create.mapping = TRUE)
mapping <- hash.mapping(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.