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
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
Mythical Man-Month, The: Essays on Software Engineering, Anniversary Edition, 2nd Edition
Few books on software project management have been as influential and timeless as The Mythical Man-Month. …
book
Database Internals
When it comes to choosing, using, and maintaining a database, understanding its internals is essential. But …
book
Practical Recommender Systems
Practical Recommender Systems explains how recommender systems work and shows how to create and apply them …
book
Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript
“It’s uncommon to have a programming language wonk who can speak in such comfortable and friendly …