Model Ability to prefer well on unseen data thats not use for training phase. The goal of a training a model is to achieve good generalization so that it can make accurate prediction on data it has naver encountered before. Balancing the trade-off between underfitting and overfitting is crucial for achieving good generalization.

Untitled

Generalization issues in Model Training and Evaluation

Bias

Untitled

Variance

Untitled

Regularization

It introduces penalties for overly complex models, encourgaing a balance between fitting the training data and avoiding overfiting

Untitled

L1 Regularization (Lasso)

L1 goal is to minimziae the loss function, as it encourges the sparsity in the model, meaning some of the coefficients may become exactly zero, effectively eliminating certain features

$λ+∑∣w_i∣$

L2 Regularization Ridge