Natural Language Processing in Python - EXTRA

Hello friends!

Ever wanted to use an NLP model to predict the sentiment of a SINGLE review?

It’s a frequent question that I hear from students, which is why I’ve created a free BONUS to answer precisely that!

Tackle this challenge yourself using the instructions and code outlined in this bonus Colab here:

https://www.superdatascience.com/pages/nlp-bonus

Here’s the step-by-step coding you’ll receive:

  • Importing libraries

  • Importing datasets

  • Cleaning text

  • Creating the Bag of Words model

  • Splitting the data into Training and Test sets

  • Training thee Naive Bayes model on the Training set

  • Predicting the Test set results

  • Making the confusion matrix

  • Predicting if a single review is positive or negative

Enjoy!