
上QQ阅读APP看书,第一时间看更新
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