Skip to Content
Machine Learning Engineering in Action
book

Machine Learning Engineering in Action

by Ben Wilson
April 2022
Intermediate to advanced
576 pages
18h 11m
English
Manning Publications
Content preview from Machine Learning Engineering in Action

10 Standards of coding and creating maintainable ML code

This chapter covers

  • Identifying ML code smells and how to correct them
  • Reducing code complexity in ML projects
  • Currying for cleaner and more understandable code
  • Applying proper exception handling in ML code bases
  • Understanding side effects and how they can create bugs
  • Simplifying nested logic to improve comprehension

In the preceding chapter, we covered the broad strokes of a code foundation. Focusing on breaking up complex structure by utilizing refactoring and basic software-engineering best practices was important to pave the way for further discussion of the more detailed aspects of software development for ML. Without laying the foundation of basic best-practices, the code architecture ...

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.
Start your free trial

You might also like

Feature Engineering for Machine Learning

Feature Engineering for Machine Learning

Alice Zheng, Amanda Casari
Kubeflow for Machine Learning

Kubeflow for Machine Learning

Trevor Grant, Holden Karau, Boris Lublinsky, Richard Liu, Ilan Filonenko

Publisher Resources

ISBN: 9781617298714Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link