Overview: Text Classification with spaCy

Let's get an overview of what we'll be learning in this section.

This chapter is devoted to a very basic and popular task of NLP: text classification. You will first learn how to train spaCy's text classifier component, TextCategorizer.

For this, you will learn how to prepare data and feed the data to the classifier; then, we'll proceed to train the classifier. You'll also practice your new TextCategorizer skills on a popular dataset for sentiment analysis.

Next, we will also do text classification with the popular framework TensorFlow's Keras API together with spaCy. You will learn the basics of neural networks, sequential data modeling with LSTMs, and how to prepare text for machine learning tasks with Keras's text preprocessing module. You will also learn how to design a neural network with tf.keras.

Get hands-on with 1200+ tech skills courses.