Accéder au contenu principal

Sentiment Analysis and Prediction in Python

Learn how to build a machine learning model predicting sentiment.
Justin Saddlemyer
Justin Saddlemyer

Créez votre compte gratuit

S'entraîner et cursus vos progrès.

Continuer avec GoogleEn continuant, vous acceptez notre conditions d'utilisation, nos politique de confidentialité et que vos données soient stockées aux États-Unis.

Codez avec nous sur

Coder ensemble ↗

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

Materials

  • Sign up for DataLab (it's free!)

Sujets

Contenus associés

Tutoriel

Python Sentiment Analysis Tutorial

Tutoriel

NLTK Sentiment Analysis Tutorial for Beginners