Options

Sentiment score via Naive Bayes - process error

Ellie98Ellie98 Member Posts: 27 Contributor II
Hey, 
I'm trying to get the sentiment scores of reddit comments via Naive Bayes but i'm getting an error at the "Apply Model" operator. I hope someone can tell which step is causing the error. 

Error:

Process: (I have a "Tokenize" Operator inside the "Process Documents from Data" Operators)



Input Data (After "Select Attributes"): 


Train Data Output after "Naive Bayes" Operator: (Those numbers are shown in the error..)

Test Data Output after "Process Documents from Data" Operator:

Thanks a lot in advance!

Best Answer

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,511 RM Data Scientist
    Solution Accepted
    Hi,
    you want to connect the wor output port of the upper process documents with the wor inputport of the lower one. This way the same columns are created.
    BR,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany

Answers

Sign In or Register to comment.