public static NeuralNetwork NeuralNetworkForPracticeFour()
        {
            var weightGenerator = new DelimitedRandom(-1, 1);
            var thresholdGenerator = new DelimitedRandom(-1, 1);

            return new NeuralNetworkBuilder(new ConnectionProperties(weightGenerator),
                                            new PerceptronProperties(thresholdGenerator),
                                            new AcceptanceMatcher(-0.049, 0.049))
                                            .WithLayer(1).From(784).To(98)
                                            .WithLayer(2).From(98).To(1)
                                            .Build();
        }
        public void return_n5_when_bewteen_n5_and_n5()
        {
            var delimitedRandom = new DelimitedRandom(-5, -5);

            delimitedRandom.Generate().Should().Be(-5.0);
        }
        public void return_5_when_bewteen_5_and_5()
        {
            var delimitedRandom = new DelimitedRandom(5, 5);

            delimitedRandom.Generate().Should().Be(5.0);
        }
        public void return_0_when_delimited_between_0_and_0()
        {
            var delimitedRandom = new DelimitedRandom(0, 0);

            delimitedRandom.Generate().Should().Be(0.0);
        }