August 2017
Intermediate to advanced
288 pages
8h 6m
English
This section covers detailed the steps for setting up the DRBM model using TensorFlow in R:
learning_rate = 0.005momentum = 0.005minbatch_size = 25hidden_layers = c(400,100)biases = list(-1,-1)
arcsigm <- function(x){return(atanh((2*x)-1)*2)}
sigm <- function(x){return(tanh((x/2)+1)/2)}
binarize <- function(x){# truncated rnormtrnrom <- function(n, mean, sd, minval = -Inf, maxval = Inf){qnorm(runif(n, pnorm(minval, mean, sd), pnorm(maxval, mean, ...Read now
Unlock full access