![Raspberry Pi 3 Cookbook for Python Programmers](https://wfqqreader-1252317822.image.myqcloud.com/cover/950/36699950/b_36699950.jpg)
上QQ阅读APP看书,第一时间看更新
Predicting Sentiments in Words
This chapter presents the following recipes:
- 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