Sentiment score via Naive Bayes - process error

Ellie98
Ellie98 New Altair Community Member
edited November 5 in Community Q&A
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

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Answer ✓
    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

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Answer ✓
    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
  • Ellie98
    Ellie98 New Altair Community Member
    It worked. Thank you so much!:) @MartinLiebig