Book Image

Test Driven Machine Learning

Book Image

Test Driven Machine Learning

Overview of this book

Table of Contents (16 chapters)
Test-Driven Machine Learning
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
2
Perceptively Testing a Perceptron
Index

Summary


In this chapter, we built up a Gaussian Naïve Bayes classifier, and ran into our first examples of truly necessary refactoring. We also saw how needing to make enormous changes in the code for a test is sometimes the result of trying to test too many concepts at once. We saw how backing up and rethinking test design can ultimately lead to a better and more elegantly designed piece of software as well.

In the next chapter, we'll apply this classifier to the real data, and see what it looks like to compare how different classifiers perform on the same data.