Question 1
Consider the following code for Ridge Regression:
from sklearn.linear_model import Ridgeimport numpy as np
X = np.array([[1, 2], [2, 4], [3, 6], [4, 8]])y = np.array([1, 2, 3, 4])
model = Ridge(alpha=10)model.fit(X, y)coefficients = model.coef_print(np.round(coefficients,2))What will be the output for the coefficients?