Book description
Learn how to apply test-driven development (TDD) to machine-learning algorithms—and catch mistakes that could sink your analysis. In this practical guide, author Matthew Kirk takes you through the principles of TDD and machine learning, and shows you how to apply TDD to several machine-learning algorithms, including Naive Bayesian classifiers and Neural Networks.
Machine-learning algorithms often have tests baked in, but they can’t account for human errors in coding. Rather than blindly rely on machine-learning results as many researchers have, you can mitigate the risk of errors with TDD and write clean, stable machine-learning code. If you’re familiar with Ruby 2.1, you’re ready to start.
- Apply TDD to write and run tests before you start coding
- Learn the best uses and tradeoffs of eight machine learning algorithms
- Use real-world examples to test each algorithm through engaging, hands-on exercises
- Understand the similarities between TDD and the scientific method for validating solutions
- Be aware of the risks of machine learning, such as underfitting and overfitting data
- Explore techniques for improving your machine-learning models or data extraction
Publisher resources
Table of contents
- Preface
- 1. Test-Driven Machine Learning
- 2. A Quick Introduction to Machine Learning
- 3. K-Nearest Neighbors Classification
- 4. Naive Bayesian Classification
- 5. Hidden Markov Models
- 6. Support Vector Machines
- 7. Neural Networks
- 8. Clustering
- 9. Kernel Ridge Regression
- 10. Improving Models and Data Extraction
- 11. Putting It All Together
- Index
Product information
- Title: Thoughtful Machine Learning
- Author(s):
- Release date: September 2014
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449374099
You might also like
book
Thoughtful Machine Learning with Python
Gain the confidence you need to apply machine learning in your daily work. With this practical …
book
Test-Driven Machine Learning
Control your machine learning algorithms using test-driven development to achieve quantifiable milestones About This Book Build …
book
Basiswissen Softwaretest
einziges deutsches Buch zum Foundation Level des Certified Tester * 4. Auflage basiert auf dem neuen …
audiobook
The Year in Tech, 2025
<B>A year of HBR's essential thinking on tech—all in one place.</B><br/><br/><br/><br/>Generative AI, biometrics, spatial computing, electric …