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 instance, it looks like our home grown Naïve Bayes just slightly outperforms Random Forest with some quick tuning and tweaking. We have a deep understanding of creating Gaussian Naïve Bayes classifiers, and we've seen how little we need to understand Random Forests in order to use them as a black box.

In the next chapter, we're going to explore and further dig into libraries like sklearn. We'll use TDD and our unit test tool as a way to build documentation and learn about the code. We'll continue working with classes, and we'll find new ways of testing that we're using sklearn and other third party libraries the way we think we are.