Description Usage Arguments Value Copying/Cloning See Also Examples
Creates a Restricted Bolzman Machine (RBM), precisely a RestrictedBolzmannMachine
object, with the given specifications.
It is typically stacked in a DeepBeliefNet
.
1 2 | RestrictedBolzmannMachine(input, output, weights = NULL,
initialize = c("0", "uniform"))
|
input, output |
|
weights |
optional starting weights. If |
initialize |
whether to initialize weights and biases with 0 or random uniform values. Ignored if |
an object of class RestrictedBolzmannMachine
containing the following elements:
input,outputLayer
s
weights, weights.breaksas input
pretrainedboolean switch to mark the state of the layer. FALSE
just after initialization.
For performance purposes, the weights are stored in an environment. This means that when you copy the RestrictedBolzmannMachine with an assignment, you do not copy the weights
and any modification you make to the new object will be propagated to the original one, and reciprocally.
Use clone
to control this and make a copy of the weights whenever you need it. Note that all the functions defined in the package do this by default.
DeepBeliefNet
, which makes use of RestrictedBolzmannMachine objects, Layer
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.