Work with your assigned partner to do sentiment analysis on the IMDB movie data set (reduced)
Do binary classification of sentiment i.e. positive versus negative. The data is already split into training and testing sets but you will need to further divide the data into training/dev/test. Each review is in its own file and the label is the name of the directory it is its in.
Be sure to use sci-kit learn's BOW implementation and compare it to the TF-IDF model. Try different number of features and bigrams. Try different classifiers and report F1 scores.
This page was last modified on 2026-08-19 at 20:15:10.
George Fox University · 414 N Meridian St · Newberg, Oregon 97132 · 503-538-8383
Copyright © 2018–2026 George Fox University. All rights reserved.