priyagunjate / decision-trees-on-amazon-reviews-data-set Goto Github PK
View Code? Open in Web Editor NEWdecision Tree algorithm is applied on amazon reviews datasets to predict whether a review is positive or negative. Procedure to execute the above task is as follows: • Step1: Data Pre-processing is applied on given amazon reviews data-set.And Take sample of data from dataset because of computational limitations • Step2: Time based splitting on train and test datasets. • Step3: Apply Feature generation techniques(avg w2v,tfidfw2v) • Step4: Apply Decision Tree algorithm using each technique. • Step5: To find C(1/lambda) and gamma(=1/sigma). • Step6: Decision tree Feature Importance using BOW and TF-IDF • Step7: Images of Decision tree in png format with verious vectorizations. 0.2 Objective: • To classify given reviews (positive (Rating of 4 or 5) & negative (rating of 1 or 2)) using Decision Trees algorithm.