Description Usage Arguments Value Examples
GetShortHash
1 | GetShortHash(activations, nProj)
|
activations |
an activation matrix, each row represents a data entry's activations |
nProj |
the number of random projections |
a binary matrix, each row is an embeded data entry
1 2 3 | activations<-c(-3, -2, 1, 0, 5, -1, 2, 1, 0, 7, 0, -2, 0, 0, 1)
activations<-as.matrix(t(activations))
GetShortHash(activations,5) # it is supposed to be a matrix of (1,1,0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.