Laptop with code next to a pad of paper
Back to All Events
John M. Olin Library, Level A, Instruction Room 1

Machine Learning for Sentiment Analysis

This single session workshop aims to introduce participants to machine learning methods for sentiments analysis. Sentiment analysis is a research method that aims to classify text in terms of its emotional valence, such as the degree to which it is positive or negative, or what emotions the text is conveying (happy, worried, angry etc.) In the last few years, machine learning approaches have displaced rules-based dictionary methods as the state-of-the-art for sentiment analysis. The process involves providing training data annotated according to the sentiment categories a researcher wants to measure in a text, and training a language model to assess those categories in a dataset. This workshop will train participants in how to analyze a text-based dataset using pre-trained sentiment analysis models, using the Python programming language. This workshop is aimed at graduate students, faculty and staff who use large text datasets in their research. Participants are encouraged to bring their own text corpus to the class. Participants should be comfortable with basic functions and libraries for text analysis in Python, such as NLTK and Spacy. Participants should also be able to work in Jupyter Notebooks.

This class will be fully in-person, and participants will use their own laptops. Enrollment is limited to 20.

DataLab Workshops 

DataLab is a collaboration between Data Services and TRIADS, Bernard Becker Medical Library, TechDen, and DI2 to provide a breadth of workshops from the basics of understanding data to working with data tools. These workshops are open to all WashU affiliates and are held in the fall and spring semesters.