Пример #1
0
        public Neuron(int numOfWeights)
        {
            var random = new Random();

            Weights = new Vector.Vector(X, Y);

            for (var i = 0; i < numOfWeights; i++)
            {
                Weights.Add(random.NextDouble());
            }
        }
Пример #2
0
 public void AddNull()
 {
     Vector.Vector <Human> vec = new Vector.Vector <Human>();
     vec.Add(null);
 }