Description Usage Arguments Value
This function calculates mean of weights times derivatives products terms when adding two of those products from current layer to already calculated expectation that ended with one such product of next layer (i.e. (wdowdo) x (wwdi^2)). Mean terms are in array format. Once added, rows need to be summed to aggregate expectations by node*weight combinations of current layer.
1 | fcMeanDlayer2array(mpdi2w, mdgo, Cwdowdowwdi2, ni, no, B)
|
mpdi2w |
Combination of products of first derivative of current layer (wd)*(wd) (iterations on weights on the same node) |
mdgo |
Mean of product of derivatives in next layer |
Cwdowdowwdi2 |
Covariance cov(wdowdo,wdiwdi) of weights times derivatives products terms, where the di terms are the same |
ni |
Number of units in current layer |
no |
Number of units in next layer |
B |
Batch size |
Mean of weights times derivatives products terms
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.