Algorithm 1. Sparsity penalized stacked denoising autoencoders for single cell RNA-seq data (scSDAE). |
Input: normalized expression vector , network layer width vector with denoted the bottleneck layer width |
Output: imputed expression vector
|
for in
do
|
if
do
|
corrupt into with noise, build neural network : and train to minimize ; predict
|
else do
|
corrupt into with noise, build neural network : and train to minimize formula
|
ifdo
|
predict
|
end for |
build neural network : and train to minimize
|
predict
|
calculate the mask vector : ( is the indicator function.) |
calculate the output ( denotes element-wise multiplication.) |