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 TDDed a simple and more complex algorithm, and then built a larger test to run the comparative benchmarking. The final comparative test ran slowly, which is less than ideal, but it could be improved by optimizing the algorithms for efficiency. You were also introduced to viewing histograms as probability distributions that can be viewed for feedback on how well our algorithm is doing. Last but not least, you learned how to create a bootstrapping approach to multi-armed bandit problems.

In the next chapter, we will dive into linear regression, and we will begin to integrate third-party libraries such as scipy into our TDD practice.