private double[][] RandomizeWeights(double[][] weights)
        {
            double[][] newWeights = new double[weights.Length][];

            for (var i = 0; i < weights.Length; i++)
            {
                double[] weightLayer = new double[weights[i].Length];

                for (int j = 0; j < weightLayer.Length; j++)
                {
                    weightLayer[j] = HelperFunc.RandomWeight();
                }

                newWeights[i] = weightLayer;
            }

            return(newWeights);
        }
 public Synapse(Neuron inputNeuron, Neuron outputNeuron)
 {
     InputNeuron  = inputNeuron;
     OutputNeuron = outputNeuron;
     Weight       = HelperFunc.RandomWeight();
 }