About Gain Ratio Rapid Miner

Rana_ibrahim_351
New Altair Community Member
Hello every one hope so every one will be fine. How to apply gain ratio to csv file having no integers only text for sentimental analysis
Tagged:
0
Answers
-
Answer required as soon as possible please
0 -
First you need to read the CSV file in, i assume you have a label in for training, then process documents into tf-idf format, so all text becomes numbers, so now you can weigh by gain ratio your columns against the label, and use it to select attributes by weight. This will reduce 1000s of text-derived attributes to perhaps 100s as per your specification of selection parameters. Alternatively if you do not have a label, simply use the Extract Sentiment operator from the Operator Toolbox extension.
0