Description Usage Arguments Value See Also Examples
View source: R/generateWeightsFunctions.R
This function is the standard method for generating weights for instances of
Net
. It uses rnorm
to do so.
1 2 3 | generateWeightsNormal(numUnits1, numUnits2,
weights.mean = getParameter(".weights.mean", 0, ...),
weights.sd = getParameter(".weights.sd", 0.01, ...), ...)
|
numUnits1 |
Number of units in the lower layer. |
numUnits2 |
Number of units in the upper layer. |
weights.mean |
|
weights.sd |
|
... |
Additional parameters, used for parameter resolution. |
Weight matrix.
Other weight generation functions: generateWeightsGlorotNormal
,
generateWeightsGlorotUniform
,
generateWeightsHeNormal
,
generateWeightsHeUniform
,
generateWeightsUniform
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.