Question 5
For a dataset with 1000 data points and 100 features, the following code will generate how many models during execution?
Note: X is the feature matrix and y is the target vector.
from sklearn.model_selection import cross_val_scorefrom sklearn.model_selection import LeaveOneOutfrom sklearn.linear_model import linear_regressionlin_reg = linear_regression()loocv = LeaveOneOut()score = cross_val_score(lin_reg, X, y, cv=loocv)1000
100
99
999