That's where this project comes in. I found a dataset with 1.6 million tweets and adapted a TextVectorization to the data to create a vocabulary. Using this adapted layer, I then created a sentiment analysis recurrent neural network (RNN) model.
Next, I created the Sentiment Explorer web app. In the web app, users can search for any modern social issue or topic they want (example: climate change). The web app then combs through a dataset of nearly 550,000 recent tweets (posted during 2022), finds tweets with the search term, performs sentiment analysis on the filtered tweets using the RNN model, and displays how people feel about the issue.
Sentiment Explorer provides a simple way to gage people's opinions on important issues, such as the environment, economic policies, and civil rights. If worked on further, I believe this tool could have important implications for policymakers, interest groups, and others.
- Pandas for data pre-processing
- TensorFlow for model creation and training
- Flask for the back-end (e.g. API, serving the model)
- React.js, Next.js, & useSWR (in TypeScript) for the web app front-end