What is the main difference between Ridge and Lasso regularization?
- Both use L1 penalty
- Both use L2 penalty
- Ridge uses L1 penalty, Lasso uses L2 penalty
- Ridge uses L2 penalty, Lasso uses L1 penalty
Ridge regularization uses an L2 penalty, which shrinks coefficients but keeps them non-zero, while Lasso uses an L1 penalty, leading to some coefficients being exactly zero.
Loading...
Related Quiz
- How does choosing the value of K in the K-Nearest Neighbors (KNN) algorithm impact the decision boundary?
- A business stakeholder asks you to explain the interaction effect found in a Multiple Linear Regression model built for sales prediction. How would you explain this in non-technical terms?
- Which of the following techniques is primarily used for dimensionality reduction in datasets with many features?
- In the k-NN algorithm, when two classes have a similar number of instances close to a test data point, the choice of an odd 'k' can help to avoid ________
- In reinforcement learning, what do we call the function that determines the value of taking an action in a particular state?