rbm.down: Generate visible vector by hidden units states

View source: R/rbm_train.R

rbm.downR Documentation

Generate visible vector by hidden units states

Description

Generate visible vector by hidden units states

Usage

rbm.down(rbm, h)

Arguments

rbm

an rbm object trained by function train.rbm

h

hidden units states

Value

generated visible vector

Author(s)

Xiao Rong

Examples

Var1 <- c(rep(1, 50), rep(0, 50))
Var2 <- c(rep(0, 50), rep(1, 50))
x3 <- matrix(c(Var1, Var2), nrow = 100, ncol = 2)
r1 <- rbm.train(x3, 3, numepochs = 20, cd = 10)
h <- c(0.2, 0.8, 0.1)
v <- rbm.down(r1, h)

deepnet documentation built on June 24, 2022, 5:06 p.m.

Related to rbm.down in deepnet...