Skip to content

Instantly share code, notes, and snippets.

@bbzzzz
bbzzzz / README
Last active August 29, 2015 14:18 — forked from larsmans/README
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