Test-Driven Machine Learning

Nonfiction, Computers, Advanced Computing, Theory, Database Management, Programming
Cover of the book Test-Driven Machine Learning by Justin Bozonier, Packt Publishing
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Justin Bozonier ISBN: 9781784396367
Publisher: Packt Publishing Publication: November 27, 2015
Imprint: Packt Publishing Language: English
Author: Justin Bozonier
ISBN: 9781784396367
Publisher: Packt Publishing
Publication: November 27, 2015
Imprint: Packt Publishing
Language: English

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 Naive 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 starts every example algorithm with the simplest thing that could possibly work. With this approach, seasoned veterans will find simpler approaches to beginning a machine learning algorithm. You will learn how to iterate on these algorithms to enable rapid delivery and improve performance expectations.

The book begins with an introduction to test driving machine learning and quantifying model quality. From there, you will test a neural network, predict values with regression, and build upon regression techniques with logistic regression. You will discover how to test different approaches to naive bayes and compare them quantitatively, along with how to apply OOP (Object-Oriented Programming) and OOP patterns to test-driven code, leveraging SciKit-Learn.

Finally, you will walk through the development of an algorithm which maximizes the expected value of profit for a marketing campaign by combining one of the classifiers covered with the multiple regression example in the book.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

Control your machine learning algorithms using test-driven development to achieve quantifiable milestones

About This Book

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

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 starts every example algorithm with the simplest thing that could possibly work. With this approach, seasoned veterans will find simpler approaches to beginning a machine learning algorithm. You will learn how to iterate on these algorithms to enable rapid delivery and improve performance expectations.

The book begins with an introduction to test driving machine learning and quantifying model quality. From there, you will test a neural network, predict values with regression, and build upon regression techniques with logistic regression. You will discover how to test different approaches to naive bayes and compare them quantitatively, along with how to apply OOP (Object-Oriented Programming) and OOP patterns to test-driven code, leveraging SciKit-Learn.

Finally, you will walk through the development of an algorithm which maximizes the expected value of profit for a marketing campaign by combining one of the classifiers covered with the multiple regression example in the book.

More books from Packt Publishing

Cover of the book Learning AirWatch by Justin Bozonier
Cover of the book Unreal Engine Game Development Cookbook by Justin Bozonier
Cover of the book Mastering Java Machine Learning by Justin Bozonier
Cover of the book ESP8266 Home Automation Projects by Justin Bozonier
Cover of the book MEAN Web Development - Second Edition by Justin Bozonier
Cover of the book Mastering React Native by Justin Bozonier
Cover of the book Ruby and MongoDB Web Development Beginner's Guide by Justin Bozonier
Cover of the book IBM Lotus Notes and Domino 8.5.3: Upgrader's Guide by Justin Bozonier
Cover of the book Oracle SOA Infrastructure Implementation Certification Handbook (1Z0-451) by Justin Bozonier
Cover of the book End to End GUI Development with Qt5 by Justin Bozonier
Cover of the book Security Automation with Ansible 2 by Justin Bozonier
Cover of the book Microsoft Dynamics AX 2012 R3 Security by Justin Bozonier
Cover of the book HDInsight Essentials - Second Edition by Justin Bozonier
Cover of the book Bootstrap 4 – Responsive Web Design by Justin Bozonier
Cover of the book Java Deep Learning Essentials by Justin Bozonier
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy