Skip to content

kaushikhande/Ensemble_sentiment

Repository files navigation

Ensemble_sentiment

Ensemble Implementation of Naive Bayes + Support Vector Machine

  • Maximum Entropy:

NLTK package is use

Output consists of results of unigram, bigram, trigram

graph1.py(needs matplotlib package to run) file compares results of Naive Bayes vs Support Vector Machine vs Maximum Entropy vs ensemble for unigram, bigram and trigram features

Running maj_voting.py

Install nltk package, matplotlib, numpy, sklearn

Download nltk stopwords

run command>

python maj_voting.py