This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sentiment analysis experiment using scikit-learn | |
================================================ | |
The script sentiment.py reproduces the sentiment analysis approach from Pang, | |
Lee and Vaithyanathan (2002), who tried to classify movie reviews as positive | |
or negative, with three differences: | |
* tf-idf weighting is applied to terms | |
* the three-fold cross validation split is different | |
* regularization is tuned by cross validation |