Skip to content
/ politix Public

The political text ideology extraction tool is a one dimensional "ideal point" projector that utilizes variational encoding methods to quantify an author's political leaning.

License

Notifications You must be signed in to change notification settings

shiyis/politix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POLITIX: A Political Text Ideology Extraction Project

More specifically, this is a one dimensional "ideal point" (the author's political stance or ideological standpoint) projector that utilizes Variational Autoencoding methods to quantify an author's political leaning (the author's political position gets projected onto a one dimensional scale that ranges from moderate to progressive).


Measuring Political Subjectivity with VAE

Drawing inspiration from one of the studies conducted on measuring political subjectivity and quantifying author's political stance through variational inference, this project will largely follow this paper to conduct an ad hoc analysis and unsupervised modeling over political content in the format of tweets for eliciting potential interpretable results.

A simple EDA (Exploratory Data Analysis) will also be carried out in supporting the final analysis.


To-dos

Please check out this link for updates and supplementary analysis and notes. The blog will explain some important context, background, incentive, and attach axiliary notes. The major vocabs will be around understanding PACs, Super PACs, and Electoral College.


Data

This repo serves as a sample data collection demo. (p.s. due to limited permissions of twitter API access, some of the data collected might not be as ideal).


Literature Review

Please also check out the references pertaining to this project. The file includes articles and resources that introduce the sufficient background in order to better understand this particular project.


Demo

Please check out this link for a final demo (this app is deployed on GCP; for information of the process please check out this repo) . Also check out dev branch for src code and other relevant resources.


Privacy and Ethics Disclaimer

This project only explores the open tweets and data retrieved from Twitter API for personal non-commercial use only. For a full collection of tweets, please email me at shiyis@brandeis.edu.

About

The political text ideology extraction tool is a one dimensional "ideal point" projector that utilizes variational encoding methods to quantify an author's political leaning.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages