Data Science MasterClass (July) | 2 seats left

[Amazon] Underfitting and Overfitting

[Amazon] Underfitting and Overfitting

Last Updated: April 2024

Problem

How do you evaluate whether a model is underfitting or overfitting?


Solution

A way to evaluate if a model has underfitted or overfitted is to look at the model’s error curves on train and validation datasets as seen below. Consider the number of trees (iteration...

Unlock the full lesson

Created by interviewers from Google and Meta. Master every concept you need to land your dream role.

All courses — Data, ML/AI & Quant
Unlimited coding submissions
Hands-on projects with real datasets
Detailed solutions in text & video
Monthly content updates
Join Premium