BuildEmbeddedObject: BuildEmbeddedObject

Description Usage Arguments Value

View source: R/densefly.R

Description

BuildEmbeddedObject

Usage

1
2
BuildEmbeddedObject(data, hash.length, nProj, sampling.rate,
  do.center = FALSE, seed = 19940929, old.code = FALSE)

Arguments

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

Value

a list of embedding results '@long' stores the long hash, '@short' stores the short hash


chansigit/scFly documentation built on Nov. 10, 2020, 12:33 a.m.