Let's now move on to look at how to build our model.
- After reading the data, we use the head() function to take a look it:
In the following screenshot, we can see that there are two columns: labels and message. The output is as follows:
- We then use the describe() function to look at a few metrics in each of the columns:
This gives us the following metrics: