Skip to Content
Grokking Machine Learning
book

Grokking Machine Learning

by Luis Serrano
December 2021
Intermediate to advanced
512 pages
15h 23m
English
Manning Publications
Content preview from Grokking Machine Learning

4 Optimizing the training process: Underfitting, overfitting, testing, and regularization

In this chapter

  • what is underfitting and overfitting
  • some solutions for avoiding overfitting: testing, the model complexity graph, and regularization
  • calculating the complexity of the model using the L1 and L2 norms
  • picking the best model in terms of performance and complexity

This chapter is different from most of the chapters in this book, because it doesn’t contain a particular machine learning algorithm. Instead, it describes some potential problems that machine learning models may face and effective practical ways to solve them.

Imagine that you have ...

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

Hands-On Machine Learning with Scikit-Learn and PyTorch

Hands-On Machine Learning with Scikit-Learn and PyTorch

Aurélien Géron
Machine Learning with PyTorch and Scikit-Learn

Machine Learning with PyTorch and Scikit-Learn

Sebastian Raschka, Yuxi (Hayden) Liu, Vahid Mirjalili

Publisher Resources

ISBN: 9781617295911Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link