Predicting Sentiments in Words
This chapter presents the following topics:
- Building a Naive Bayes classifier
- Logistic regression classifier
- Splitting the dataset for training and testing
- Evaluating the accuracy using cross-validation
- Analyzing the sentiment of a sentence
- Identifying patterns in text using topic modeling
- Application of sentiment analyses