
上QQ阅读APP看书,第一时间看更新
Chapter 4. Text Classification
This chapter provides a brief introduction to text classification and also provides you with an example of the Naïve Bayes algorithm, developed from scratch, in order to explain how to turn an equation into a code.
In this chapter we will cover:
- Learning and classification
- Bayesian classification
- Naïve Bayes algorithm
- E-mail subject line tester
- The data
- The algorithm
- Classifier accuracy