Description Usage Arguments Value
BuildEmbeddedObject
1 2 | BuildEmbeddedObject(data, hash.length, nProj, sampling.rate,
do.center = FALSE, seed = 19940929, old.code = FALSE)
|
data |
an input matrix, each row is a data entry |
hash.length |
the length of an input vector after one random projection, the embedding size will be hash.length*nProj |
nProj |
the number of random projections |
sampling.rate |
the fraction of input vector used to calculate one activation |
do.center |
set this to TRUE if you hope to zero-centralize the data |
seed |
a seed for generating random vectors in LSH |
a list of embedding results '@long' stores the long hash, '@short' stores the short hash
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.