Skip to main content

Live Training: Sentiment Analysis and Prediction in Python

In this live training, you will build a machine learning model to predict the sentiment of a review using the contents of the review.

We walk through all steps of the machine learning process, from importing the text data, tokenizing and vectorizing the text samples up to training a classifier and evaluating its performance.

Key Takeaways:

  • Load in and inspect a csv file with Python

  • Tokenize and vectorize text data to build numerical features for prediction

  • Build a classifier that can predict the sentiment of a review

  • Calculate and assess the performance of a classifier


Follow along with this training in Workspace.

Justin Saddlemyer Headshot
Justin Saddlemyer

Workspace Architect at DataCamp

Recommended Content

Live Training: NumPy Crash Course

Learn about NumPy arrays and manipulate data stored inside of them.


Pandas Cheat Sheet for Data Science in Python

A quick guide to the basics of the Python data analysis library Pandas.


Live Code-Along: Predicting Hotel Booking Cancellations in Python

Learn to build a machine learning model that predicts hotel cancellations


Hands-on learning experience

Companies using DataCamp achieve course completion rates 6X higher than traditional online course providers

Learn More

Upskill your teams in data science and analytics

Learn More

Join 2,500+ companies and 80% of the Fortune 1000 who use DataCamp to upskill their teams.

Don’t just take our word for it.