Example #1
0
 /// <summary>
 /// Saves learn rate and network to test
 /// </summary>
 public Trainer(Perceptron network, float learnRate)
 {
     this.network   = network;
     this.learnRate = learnRate;
 }
Example #2
0
 /// <summary>
 /// Creates tester with network to test
 /// </summary>
 /// <param name="perceptron">Network to test</param>
 public Tester(Perceptron perceptron)
 {
     network = perceptron;
 }