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


We covered a lot of material in this chapter. Once again, we covered moving incrementally in small steps in order to get specific software built. We also leveraged OOP to enable us to test our ClassifierChooser in isolation from our complex machine learning algorithms. Beyond this, we even leveraged creating extremely simple test classifiers to act as our way of decoupling from the more complex algorithms.

We now have the beginnings of a system that can test machine learning algorithms, and choose the best one according to some metric. We've also established a pattern to bring outside algorithms into our project, which includes wrapping the external library in an adapter. This ensures that you can bend the third-party library to your needs rather than bending your system around your third-party library, and making your code brittle (easily broken).

In the next chapter, we will be bringing all of the concepts that we've covered up to this point together. We'll have a project not unlike...