Learn R Programming

darch (version 0.12.0)

generateWeightsGlorotUniform: Glorot uniform weight initialization

Description

This function is used to generate random weights and biases using Glorot uniform weight initialization as described in Glorot & Bengio, AISTATS 2010.

Usage

generateWeightsGlorotUniform(numUnits1, numUnits2, ...)

Arguments

numUnits1

Number of units in the lower layer.

numUnits2

Number of units in the upper layer.

...

Additional parameters, used for parameter resolution and passed to generateWeightsUniform.

Value

Weight matrix.

References

Glorot, Xavier and Yoshua Bengio (2010). "Understanding the difficulty of training deep feedforward neural networks". In: International conference on artificial intelligence and statistics, pp. 249-256

See Also

Other weight generation functions: generateWeightsGlorotNormal, generateWeightsHeNormal, generateWeightsHeUniform, generateWeightsNormal, generateWeightsUniform

Examples

Run this code
# NOT RUN {
data(iris)
model <- darch(Species ~ ., iris, generateWeightsFunction = "generateWeightsGlorotUniform")
# }

Run the code above in your browser using DataLab