Skip to Content
Effective Machine Learning Teams
book

Effective Machine Learning Teams

by David Tan, Ada Leung, David Colls
February 2024
Beginner to intermediate
402 pages
11h 33m
English
O'Reilly Media, Inc.
Audio summary available
Content preview from Effective Machine Learning Teams

Chapter 5. Automated Testing: Move Fast Without Breaking Things

Dana has just sat down at her desk, the aroma of fresh coffee filling the space around her. She and a junior data scientist on the team continued on the user story that they kicked off yesterday—engineering a new feature that could improve the model.

They made the necessary changes and executed a command to run the tests. This suite of tests helped validate that the entire codebase was still behaving as expected. After 20 seconds, their terminal showed dashes of green—all the tests passed.

Sometimes the terminal went red. Some tests failed, but that’s OK—the failing tests caught them as they were about to fall into a deep rabbit hole, helping them recover easily by tracing a few steps backward. The tests are now back to green and they gave it another go.

Green or red, the tests gave them fast feedback on code changes. The tests gave them confidence and the occasional dopamine hit to tell them if they were going in the right direction or stop them when they went in the wrong direction. They didn’t have to follow a tedious sequence of manual steps to test the code. When the tests failed, there were only a small number of changes that could have caused the failure, not hours of potential suspects to sort through.

When they needed to train the model, they ran a command that triggered training on the cloud and their experiment-tracking dashboard lit up with updated metrics and explainability visualizations, which signaled ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Practicing Trustworthy Machine Learning

Practicing Trustworthy Machine Learning

Yada Pruksachatkun, Matthew Mcateer, Subho Majumdar
Reliable Machine Learning

Reliable Machine Learning

Cathy Chen, Niall Richard Murphy, Kranti Parisa, D. Sculley, Todd Underwood

Publisher Resources

ISBN: 9781098144623Errata Page