FlashKeepers

Machine Learning · College · College and University

ML VI: Regularization and Optimization

Overfitting, L1 and L2 regularization, gradient descent variants, learning rates, Adam, early stopping and dropout.

About this set

39 basic cards for College Machine Learning. It opens with "What is overfitting?" and "How does overfitting typically appear in a learning curve?". Study it alongside the other College sets below.

39 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is overfitting?
Show answerA model learns the training data too well, including noise, so it performs poorly on new unseen data.
How does overfitting typically appear in a learning curve?
Show answerTraining error continues to decrease while validation error starts increasing.
Name one common cause of overfitting.
Show answerThe model is too complex relative to the amount of training data.
Why is a validation set critical for detecting overfitting?
Show answerIt estimates performance on unseen data independent of the training set.
What term does L1 regularization add to the loss function?
Show answerLambda times the sum of absolute values of weights.
What is L1 regularization also called?
Show answerLasso regularization.
Which norm does L1 regularization minimize, the L1 or L2 norm?
Show answerThe L1 norm (sum of absolute values).
What feature selection property does L1 regularization have?
Show answerIt can drive some weights exactly to zero, effectively removing features.
How does L1 regularization penalize small weights versus large weights?
Show answerIt penalizes all weights equally per unit of magnitude.
What term does L2 regularization add to the loss function?
Show answerLambda times the sum of squared weights.
What is L2 regularization also called?
Show answerRidge regularization.
Which norm does L2 regularization minimize, the L1 or L2 norm?
Show answerThe L2 norm (square root of sum of squares).
How does L2 regularization affect weight magnitudes?
Show answerIt encourages all weights to be smaller but rarely drives them exactly to zero.
In what scenario might L2 regularization be preferred over L1?
Show answerWhen all features are potentially useful and you want to keep them all but reduce their magnitude.
What is batch gradient descent?
Show answerComputes gradients on the entire dataset before updating weights once per epoch.

24 more cards in the app

Study this set free