GetActivations: Convert an input vector into activations

Description Usage Arguments Value

View source: R/densefly.R

Description

Convert an input vector into activations

Usage

1
GetActivations(data, embedding.size, sampling.rate)

Arguments

data

an input matrix, each row is a data entry

embedding.size

length of embedded vector, i.e. number of columns after embedding

sampling.rate

the fraction of input vector used to calculate one activation

Value

a matrix with the same number of rows as the input, each row is an embedded vector


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