O'Reilly logo

Test-Driven Machine Learning by Justin Bozonier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we iteratively developed the foundation of a neural network (a perceptron) using TDD by first developing concrete scenarios in a spreadsheet. Using a spreadsheet allowed us to get a handle on each of the different calculations that are required in a perceptron. We also saw that we can use TDD without needing to prove the mathematics. Instead we used TDD to implement the smallest amount of the mathematics that we needed to make our perceptron perform incrementally better. A side benefit to this is that you may have also developed a deeper understanding of what each aspect of the perceptron actually does.

In the next chapter, we will continue exploring mathematical solutions to machine learning. Specifically, we will develop ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required