Пример #1
0
 public void given_a_threshold_generator()
 {
     _thresholdGenerator = Substitute.For<DelimitedRandom>(0, 0);
     _weightGenerator = Substitute.For<DelimitedRandom>(0, 0);
 }
Пример #2
0
 public PerceptronProperties(NumberGenerator thresholdGenerator, Formula formula = null)
 {
     IsEntryPerceptronList = false;
     ThresholdGenerator = thresholdGenerator;
     Formula = formula ?? new Sigmoid();
 }
Пример #3
0
 public ConnectionProperties(NumberGenerator weightGenerator)
 {
     WeightGenerator = weightGenerator;
 }