5 Fundamentals of machine learning

This chapter covers

  • Understanding the tension between generalization and optimization, the fundamental issue in machine learning
  • Evaluation methods for machine learning models
  • Best practices to improve model fitting
  • Best practices to achieve better generalization

After the three practical examples in chapter 4, you should be starting to feel familiar with how to approach classification and regression problems using neural networks, and you’ve witnessed the central problem of machine learning: overfitting. This chapter will formalize some of your new intuition about machine learning into a solid conceptual framework, highlighting the importance of accurate model evaluation and the balance between training and ...

Get Deep Learning with Python, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.