Accord.Neuro.GaussianWeights.GaussianWeights C# (CSharp) Method

GaussianWeights() public method

Constructs a new Gaussian Weight initialization.
public GaussianWeights ( ActivationNetwork network, double stdDev = 0.1 ) : Accord.Math.Random
network ActivationNetwork The activation network whose weights will be initialized.
stdDev double The standard deviation to be used. Common values lie in the 0.001- /// 0.1 range. Default is 0.1.
return Accord.Math.Random
        public GaussianWeights(ActivationNetwork network, double stdDev = 0.1)
        {
            this.network = network;

            this.random = new NormalDistribution(0, stdDev);

            this.UpdateThresholds = false;
        }