Chapters
1: Introduction
2: Recommendation systems
3: Item-based filtering
4: Classification
5: More on classification
6: Naïve Bayes
7: Unstructured text
8: Clustering

This chapter explores how we can use Naïve Bayes to classify unstructured text. Can we do sentiment analysis of movie reviews to determine if the reviews are positive or negative?

Contents

  • an automatic system for determining positive and negative texts
  • how to train a Naïve Bayes classifier using unstructured text
  • stop words — discarding common words
  • classifying newsgroups
  • Python code for Naïve Bayes
  • Sentiment Analaysis

The PDF of the Chapter

Python code

Data