y_train.shape = (7654,1) y_test.shape = (1914,1)
mae = mean_absolute_error(y_train, y_test)
gives:
"ValueError: Found input variables with inconsistent numbers of samples: [7654, 1914]"
So I am trying to reshape y_train to (1,7654) and y_test to (1,1914). Would that work? I tried y_train = y_train.reshape(X.shape[1:])
but that doesn't work.