售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Test-Driven Machine Learning
Table of Contents
Test-Driven Machine Learning
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Introducing Test-Driven Machine Learning
Test-driven development
The TDD cycle
Red
Green
Refactor
Behavior-driven development
Our first test
The anatomy of a test
Given
When
Then
TDD applied to machine learning
Dealing with randomness
Different approaches to validating the improved models
Classification overview
Regression
Clustering
Quantifying the classification models
Summary
2. Perceptively Testing a Perceptron
Getting started
Summary
3. Exploring the Unknown with Multi-armed Bandits
Understanding a bandit
Testing with simulation
Starting from scratch
Simulating real world situations
A randomized probability matching algorithm
A bootstrapping bandit
The problem with straight bootstrapping
Multi-armed armed bandit throw down
Summary
4. Predicting Values with Regression
Refresher on advanced regression
Regression assumptions
Quantifying model quality
Generating our own data
Building the foundations of our model
Cross-validating our model
Generating data
Summary
5. Making Decisions Black and White with Logistic Regression
Generating logistic data
Measuring model accuracy
Generating a more complex example
Test driving our model
Summary
6. You're So Naïve, Bayes
Gaussian classification by hand
Beginning the development
Summary
7. Optimizing by Choosing a New Algorithm
Upgrading the classifier
Applying our classifier
Upgrading to Random Forest
Summary
8. Exploring scikit-learn Test First
Test-driven design
Planning our journey
Creating a classifier chooser (it needs to run tests to evaluate classifier performance)
Getting choosey
Developing testable documentation
Decision trees
Summary
9. Bringing It All Together
Starting at the highest level
The real world
What we've accomplished
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜