My Account Log in

2 options

Test Driven Machine Learning : Control Your Machine Learning Algorithms Using Test-Driven Development to Achieve Quantifiable Milestones / Justin Bozonier.

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Bozonier, Justin, author.
Series:
Community experience distilled.
Community experience distilled
Language:
English
Subjects (All):
Computer algorithms.
Machine learning.
Physical Description:
1 online resource (191 p.)
Edition:
First edition.
Place of Publication:
Birmingham, England : Packt Publishing Ltd., [2015]
System Details:
text file
Summary:
Control your machine learning algorithms using test-driven development to achieve quantifiable milestones About This Book Build smart extensions to pre-existing features at work that can help maximize their value Quantify your models to drive real improvement Take your knowledge of basic concepts, such as linear regression and Naïve Bayes classification, to the next level and productionalize their models Play what-if games with your models and techniques by following the test-driven exploration process Who This Book Is For This book is intended for data technologists (scientists, analysts, or developers) with previous machine learning experience who are also comfortable reading code in Python. You may be starting, or have already started, a machine learning project at work and are looking for a way to deliver results quickly to enable rapid iteration and improvement. Those looking for examples of how to isolate issues in models and improve them will find ideas in this book to move forward. What You Will Learn Get started with an introduction to test-driven development and familiarize yourself with how to apply these concepts to machine learning Build and test a neural network deterministically, and learn to look for niche cases that cause odd model behaviour Learn to use the multi-armed bandit algorithm to make optimal choices in the face of an enormous amount of uncertainty Generate complex and simple random data to create a wide variety of test cases that can be codified into tests Develop models iteratively, even when using a third-party library Quantify model quality to enable collaboration and rapid iteration Adopt simpler approaches to common machine learning algorithms Take behaviour-driven development principles to articulate test intent In Detail Machine learning is the process of teaching machines to remember data patterns, using them to predict future outcomes, and offering choices that would appeal to individuals based on their past preferences. Machine learning is applicable to a lot of what you do every day. As a result, you can't take forever to deliver your first iteration of software. Learning to build machine learning algorithms within a controlled test framework will speed up your time to deliver, quantify quality expectations with your clients, and enable rapid iteration and collaboration. This book will show you how to quantifiably test machine learning algorithms. The very different, foundational approach of this book sta...
Contents:
Cover ; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 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; Chapter 2: Perceptively Testing a Perceptron; Getting started; Summary
Chapter 3: Exploring the Unknown with Multi-armed BanditsUnderstanding 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; Chapter 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
Chapter 5: Making Decisions Black and White with Logistic RegressionGenerating logistic data; Measuring model accuracy; Generating a more complex example; Test driving our model; Summary; Chapter 6: You're So Naïve, Bayes; Gaussian classification by hand; Beginning the development; Summary; Chapter 7: Optimizing by Choosing a New Algorithm; Upgrading the classifier; Applying our classifier; Upgrading to Random Forest; Summary; Chapter 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; Chapter 9: Bringing It All Together; Starting at the highest level; The real world; What we've accomplished; Summary; Index
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed January 4, 2016).
Description based on print version record.
ISBN:
9781784396367
1784396362
OCLC:
932322959

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account