In this recipe, we will use TFLearn for creating a sentiment analysis deep learning network based on CNNs. As discussed in the previous section, our CNN will be in one dimension. We are going to use the IMDb dataset, a collection of 45,000 highly popular movie reviews for training, and 5,000 for testing.