I have a question about reshape function. Here is my code:
import numpy as np from sklearn.linear_model import LinearRegression X = np.array([[1, 1, 2], [2, 2