Under and Overfitting in Lab


In the final lab we see an interactive overfitting graph, however, isn’t this first example under-fitting?

1 Like

Yes @jesse, degree 1 is underfitting. degree 2 should be just right, so you will start seeing it to overfit from degree 3.

I should pay closer attention!
Screen Shot 2022-07-12 at 9.26.44 AM

No worries. I like this lab too! In the first time I added many ‘deviated’ data points to see how it overfits, then there should be another lab which will also provide you the regularization option, so I added data points to make it overfit and used regularization to make the “correction”. Nice labs they are!

1 Like