Skip to content

Conversation

@ShadekJaramillo
Copy link

In the original code the y_test series was passed to the model to make predictions. Apart from being conceptually wrong (we are giving the data to predict to the model as input for predictions) this also would raise an error because the model expects data with the same number of columns as X_train.

In the original code the y_test series was passed to the model to make predictions. Apart from being conceptually wrong (we are giving the data to predict to the model as input for predictions) this also would raise an error because the model expects data with the same number of columns as X_train.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant