valueerror expected 2d array got 1d array instead python linear regression

187

valueerror expected 2d array got 1d array instead python linear regression -

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

Comments

Submit
0 Comments