1
$\begingroup$

I don't know what is the reason for the error please guide me and help me out. I am at a learning stage.

$\endgroup$
1
  • $\begingroup$ If you are only splitting the training labels (since you’re throwing away the train_w2v split), you don’t need to provide train_w2v in the call. So you could remove the _, _, and remove train_w2v. $\endgroup$ Commented May 4, 2021 at 20:47

1 Answer 1

0
$\begingroup$

It seems like the train and train_w2v dataframes have s variable number of rows. You will have to make their shapes consistent before doing a train-test-split

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.