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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access