Question 10
For LinearRegression with equation and given that .
What will be the value of the for the below code if the model doesn't make any error?
(Write the answer correct upto one decimal)
Where and are column1 and column2 respectively and and are weights associated to the respected columns while fitting
from sklearn.linear_model import LinearRegressionX_train = [[1,2], [2,4], [3,6], [4,8]]y_train = [1,2,3,4]reg = LinearRegression(fit_intercept=False) #intercept=0reg.fit(X_train,y_train)print(reg.coef_[1])