Getting an output for each input

Legacy UserLegacy User Member Posts: 0 Newbie
edited November 2018 in Help
Hey,
I'm new to rapidminer. I built an application for sentiment analysis. It starts with reading several reviews (with the help of textInput - tokenizer, stopwordfilter, stemmer...) and then it uses support vector machines. So my training process is already done and the generated model works quite well because I get an average accuracy of 84 percent.
But now I would like to set an input with several reviews and rapidminer should give me an output to each review wether it's positive or negative, not an overview how many of them are positive or negative.

I think this should be possible but I can't find how.

Kind regards

Answers

  • TobiasMalbrechtTobiasMalbrecht Moderator, Employee, Member Posts: 294 RM Product Management
    Hi Max,

    well you simply have to save the SVM model after learning and save a word list during the text input (see the corresponding parameter in the [tt]TextInput[/tt operator).

    Afterwards you can load new texts again with any input operator (do not forget to load the word list you saved before in this step), load the model you saved and then apply it. The new data set should then contain a prediction column with the corresponding label.

    Kind regards,
    Tobias
Sign In or Register to comment.