About Gain Ratio Rapid Miner

Rana_ibrahim_351Rana_ibrahim_351 Member Posts: 2 Newbie
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

Answers

  • Rana_ibrahim_351Rana_ibrahim_351 Member Posts: 2 Newbie
    Answer required as soon as possible please

  • jacobcybulskijacobcybulski Member, University Professor Posts: 391 Unicorn
    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. 
Sign In or Register to comment.