Explain how Ridge and Lasso handle multicollinearity among the features.
- Both eliminate correlated features
- Both keep correlated features
- Ridge eliminates correlated features; Lasso keeps them
- Ridge keeps correlated features; Lasso eliminates them
Ridge regularization keeps correlated features but shrinks coefficients; Lasso can eliminate some by setting coefficients to zero.
Loading...
Related Quiz
- You have applied PCA to your dataset and the first three principal components explain 95% of the variance. What does this signify, and how would you proceed?
- How does Logistic Regression differ from Linear Regression?
- The addition of _________ in the loss function is a common technique to regularize the model and prevent overfitting.
- One of the challenges in training deep RNNs is the ________ gradient problem, which affects the network's ability to learn long-range dependencies.
- A company wants to deploy a machine learning model for hiring. They've ensured that the model is highly accurate. However, they're facing criticism because the inner workings of their model are a "black box," and candidates want to know why they were or were not selected. This criticism mainly pertains to which aspect of machine learning?