CompTIA DataX (DY0-001) — Question 51

A data scientist is working with a data set that has ten predictors and wants to use only the predictors that most influence the results. Which of the following models would be the best for the data scientist to use?

Answer options

Correct answer: D

Explanation

LASSO is particularly effective for variable selection as it can shrink some coefficients to zero, thereby excluding them from the model. OLS, Ridge, and Weighted least squares do not perform variable selection in the same way, making them less suitable for the data scientist's goal of identifying only the most influential predictors.