Research Article
On the Feature Selection and Classification Based on Information Gain for Document Sentiment Analysis
(1) procedure IGDF–FEATURE–SELECTION(input: of attributes and its class , | output: and negative feature ) | (2) for each features in featureset do | (3) calculate | (4) end for | (5) for each IGscore in do | (6) if then | (7) | (8) if then | (9) | (10) else | (11) | (12) end if | (13) end if | (14) end for | (15) end procedure |
|