Week 2 Flashcards
What is generalization?
How well our model can predict unseen data.
What is the difference between regression and classification?
Classification is about predicting the class label from a pre-defined set of outcomes. This can be a binary outcome or a multiway outcome.
Regression is about predicting a continuous number. For example, predicting someone’s income from their age, education and job.
What is overfitting?
Overfitting is when the model doesn’t generalize new data. It models the training set too well and can’t accurately predict new data.
What is underfitting?
This is when the model is too simple. It can’t accurately predict the training data.
What do you get if a model is too complex?
Overfitting
What do you get if a model is too simple?
Underfitting.