@ASHISH_17 wrote:
Hello,
Below is the size of train and test dataset -
X_train.shape, y_train.shape, X_test.shape
((548, 7), (548,), (548, 6))After running a Linear Regression, I am getting an error as follows -
ValueError: shapes (548,6) and (7,) not aligned: 6 (dim 1) != 7 (dim 0)What is the reason behind it and how to correct it?
Posts: 1
Participants: 1