It uses machine learning models to do sentiment polarity analysis on movie reviews. In other words, to classify opinions expressed in a text review (document) in order to determine whether the reviewer’s sentiment towards the movie is positive or negative.
Best thing would be to follow my blog-post for implementation. The description about the steps to perform sentiment analysis from scratch can be read from my blog:
It is a python implementation using Naive Bayes Classifier and Support Vector Machines from Scikit-learn ML library.
The results has been shown on publicly open polarity movie review corpus. The link for corpus/dataset download is https://www.cs.cornell.edu/people/pabo/movie-review-data/
Note : Directory path of corpus in movie-polarity-tfidf.py and movie-polarity.py needs to be set accordingly.