BOW


Work with your assigned partner to do sentiment analysis on the Twitter Sentiment

Predict the sentiment of the tweets: positive, negative, neural, irrelevant. The data is already split into training and testing sets but you will need to further divide the data into training/dev/test. 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 Logistic Regression, Random Forests, a MLP (neural networks) and report F1 scores.


This page was last modified on 2025-04-08 at 19:46:03.

Copyright © 2018–2026 George Fox University. All rights reserved.