https://github.com/zainnasrullah/nlp-reddit-political-persuasion
Assignment 1 for Natural Language Processing. Seems to be really fun but a lot of work!
https://github.com/zainnasrullah/nlp-reddit-political-persuasion
Last synced: 3 months ago
JSON representation
Assignment 1 for Natural Language Processing. Seems to be really fun but a lot of work!
- Host: GitHub
- URL: https://github.com/zainnasrullah/nlp-reddit-political-persuasion
- Owner: ZainNasrullah
- Created: 2018-01-09T07:49:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T19:58:08.000Z (over 7 years ago)
- Last Synced: 2024-12-20T03:47:29.301Z (6 months ago)
- Language: Python
- Size: 26.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Studying the political swing of reddit posts. This analysis will eventually lead towards determining bias and identifying lies on social media in subsequent projects. Pretty exciting!
Note:
Unfortunately, due to its size, the source data cannot be made available in this repository. However, taking a look at the code should give one a good indication regarding how things work. The political categories include ("Left", "Right", "Center", "Alt"). In the original assignment, the best performing model was Adaboost with around 49% accuracy. In the bonus section with a uni-gram model, logistic regression was able to score 51% mean accuracy across K-fold cross-validation.