Skip to content

rvhirsch/MLfinalproject

Repository files navigation

Yelp data:

https://www.yelp.com/dataset

Negative/positive word files:

https://github.com/shekhargulati/sentiment-analysis-python/tree/master/opinion-lexicon-English

NLTK word types:

https://www.nltk.org/book/ch05.html https://pythonprogramming.net/natural-language-toolkit-nltk-part-speech-tagging/

New dataset info:

Each row:

  1. numnouns = number of nouns in review
  2. numverbs = number of verbs in review
  3. numadj = number of adjectives in review
  4. countexclaim = number of exclamation points (!) in review
  5. pos = number of positive words in review
  6. neg = number of negative words in review
  7. numwords = number of total words in review
  8. numsentences = number of sentences in review
  9. stars = star rating given

Current Classifiers

  1. logisticregression.py : Logistic Regression Classifier
  2. perceptronclassifier.py : Perceptron Classifier

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages