public override void Mutate(double probability, double standardDeviation) { WeightsOutput = WeightsOutput.Add(RandomHelper.Gaussian(0, standardDeviation)); }
public InputLayer(int totalNodes, int totalOutputNodes) : base(0, totalNodes, totalOutputNodes) { WeightsOutput = Matrix <double> .Build.Dense(totalOutputNodes, TotalNodes, (i, j) => RandomHelper.Range(-1, 1)); }