valueError ожидается, что 2D массив получил 1D массив вместо линейной регрессии Python

x_train= x_train.reshape(-1, 1)
y_train= y_train.reshape(-1, 1)
x_test = x_test.reshape(-1, 1)
Courageous Copperhead