Description Details Fields Methods See Also
A reference class object for one layer of computation in a network object.
__
coef.dima length-two integer vector
weightsa matrix of real numbers
biasesa numeric vector containing the intercept for each node
nonlinearitya nonlinearity object
priora prior object
inputsa numeric array with the input activity to each node in response to each example, for each Monte Carlo sample
outputsa numeric array with the transformed activations for each node in response to each example, for each Monte Carlo sample
error.gradsa numeric array
weighted.bias.gradsa numeric vector
weighted.llik.gradsa numeric matrix
coef.updateran updater object
backwardPass(incoming.error.grad, sample.num)Calculate error.grads for one sample
combineSampleGrads(inputs, weights, n.importance.samples)update weighted.llik.grads and weighted.bias.grads based on importance weights and gradients from backpropagation
forwardPass(input, sample.num)Update inputs and outputs for one sample
resetState(n.minibatch, n.importance.samples)Reset inputs, outputs, and error.grads to NA; alter the minibatch size and number of importance samples if desired
updateCoefficients(dataset.size, n.minibatch)Calculate coef.delta and add it to weights. Update biases
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.