public void given_a_threshold_generator() { _thresholdGenerator = Substitute.For<DelimitedRandom>(0, 0); _weightGenerator = Substitute.For<DelimitedRandom>(0, 0); }
public PerceptronProperties(NumberGenerator thresholdGenerator, Formula formula = null) { IsEntryPerceptronList = false; ThresholdGenerator = thresholdGenerator; Formula = formula ?? new Sigmoid(); }
public ConnectionProperties(NumberGenerator weightGenerator) { WeightGenerator = weightGenerator; }