Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
How to convert ratings (1 to 10) to 3 classes (negative, neutral, positive)
I would like to convert ratings (1 to 10) to three disjoint classes representing the
polarity of sentiment review (negative, neutral, positive). Is there any function in Rapidminor allows me to do so?
Tagged:
0
Best Answer
-
ceaperez Member Posts: 541 UnicornHi @Amika,
You can use the Generate Attributes operator nd implement an anidated conditional with your rating Attribute (colum), something like this.
if(yourratingattribute<=3,"Negative", if((yourratingattribute>3&&yourratingattribute<=7),"Neutral", "Positive"))
Best.
0
Answers
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts