Przejdź do głównej treści

Sentiment Analysis and Prediction in Python

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

Utwórz bezpłatne konto

Ćwicz i monitoruj swoje postępy.

Kontynuuj z GoogleKontynuując, akceptujesz nasz Warunki użytkowania, nasz Polityka prywatności i że Twoje dane są przechowywane w USA.

Koduj razem z nami na

Code Along ↗

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!)

Tematy

Powiązane

Samouczek

Python Sentiment Analysis Tutorial

Samouczek

NLTK Sentiment Analysis Tutorial for Beginners