Getting an output for each input

Legacy User
Legacy User New Altair Community Member
edited November 5 in Community Q&A
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
Tagged:

Answers

  • TobiasMalbrecht
    TobiasMalbrecht New Altair Community Member
    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