Skip to content

aasthakumar/CMPE-256-Project

Repository files navigation

CMPE-256-Project - Sentiment analysis on Hotel reviews

Used following machine learning techniques to identify Positive and negative records.

  • SVM
  • NaiveBayesClassifier
  • Random Forest

Instruction to run the code

  • Python should be installed on your operating system (Anaconda2 Recommended).
  • Make sure you have sklearn, pandas, numpy, matplotlib, scipy, wordcloud, nltk packages installed.
  • Download the english stopwords from nltk.
  • Make sure “deceptive-opinion.csv” file are present in the same directory of the source code.
  • Run the code using jupyter Notebook or any other interactive python command shell.

svm-FinalProject is the our final project code which has the highest F1 score.

About

Sentiment Analysis on reviews

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •