Attribute do not match - Text mining 、Sentiment analysis

cicicici Member Posts: 9 Learner I
I import the training set and want to predict the test set through the model. The training set is the Amazon website reviews and user ratings, the test set is also the user reviews, but because the training set and test set reviews are different, different words will be separated using the word segmentation operator, how can I solve the "attribute" Doesn't match" the problem?For example, it prompts that the word "adopt" is missing, but the comments in the test set do not contain this word. What should I do? ? Cried :s:s

Best Answer

Answers

  • cicicici Member Posts: 9 Learner I
    Thank u for your reply! I have followed just the connection you gave, but it still shows that the attributes do not match. I want to ask you another question. Since I already have a training set and a test set, why should I use validation?
Sign In or Register to comment.