Chapter 5: Text Classification and Regression Using AutoKeras
In this chapter, we will focus on the use of AutoKeras to work with text (a sequence of words).
In the previous chapter, we saw that there was a specialized type of network suitable for image processing, called a convolutional neural network (CNN). In this chapter, we will see what recurrent neural networks (RNNs) are and how they work. An RNN is a type of neural network that is very suited to working with text.
We will also use a classifier and a regressor to solve text-based tasks. By the end of the chapter, you will have learned how to use AutoKeras to solve a wide variety of problems that are text-based, such as extracting emotions from tweets, detecting spam in emails, and so on.
In this chapter, we will cover the following topics:
- Working with text data
- Understanding RNNs—what are these neural networks and how do they work?
- One-dimensional CNNs (Conv1D)
- Creating an email spam detector...