The answer
L1 (Lasso) shrinks weights to zero creating sparse models. L2 (Ridge) shrinks weights close to zero preventing dominant features.
L1 (Lasso) shrinks weights to zero creating sparse models. L2 (Ridge) shrinks weights close to zero preventing dominant features.
A model with high bias underfits data, while a model with high variance overfits. You must find the balance that minimizes total error.
By oversampling minority classes (SMOTE), undersampling majority classes, or using class weights in the loss function.
By providing factual reference texts directly in the prompt, telling the model to limit its answers to the provided context.
Browse all our FAQs or reach out to our support team
Your learning library
Find your next course. Build something great.