ValueError oczekiwana tablica 2D dostała tablicę 1d zamiast regresji liniowej Python

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