{"id":19817451,"url":"https://github.com/shiyis/politics","last_synced_at":"2026-02-15T10:31:48.417Z","repository":{"id":206889478,"uuid":"717917487","full_name":"shiyis/politics","owner":"shiyis","description":"The political text ideology classification tool provides a solution to expedite interpreting an author's intentions and subjectivity through quantitative measures.","archived":false,"fork":false,"pushed_at":"2025-07-02T00:55:43.000Z","size":61038,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-15T03:55:05.635Z","etag":null,"topics":["political-analysis","political-nlp","text-analytics","variational-inference"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shiyis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-13T00:58:34.000Z","updated_at":"2025-07-02T00:55:47.000Z","dependencies_parsed_at":"2024-05-08T18:47:53.671Z","dependency_job_id":"69271f4e-4860-40ca-a4d9-0a0ca102254f","html_url":"https://github.com/shiyis/politics","commit_stats":null,"previous_names":["shiyis/c4pe-tbip","shiyis/c4fe-tbip","shiyis/polsub-vae","shiyis/vitext","shiyis/politix","shiyisrsly/politics","shiyissss/politics","shiyisteez/politics","shiyis/politics"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shiyis/politics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiyis%2Fpolitics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiyis%2Fpolitics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiyis%2Fpolitics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiyis%2Fpolitics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shiyis","download_url":"https://codeload.github.com/shiyis/politics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiyis%2Fpolitics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29475617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T10:25:47.032Z","status":"ssl_error","status_checked_at":"2026-02-15T10:25:01.815Z","response_time":118,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["political-analysis","political-nlp","text-analytics","variational-inference"],"created_at":"2024-11-12T10:12:37.311Z","updated_at":"2026-02-15T10:31:48.373Z","avatar_url":"https://github.com/shiyis.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"## P.O.L.I.T.I.C.S. - A Political Opinions, Language, and Ideology Text Interpretation and Classification Solution\nThis exploratory independent capstone project tries to offer a solution that dynamically measures political subjectivity with Variational Autoencoding methods through quantifying an author's political leaning (their political position gets projected onto a one dimensional spectrum as an ideal point that ranges from moderate to progressive).\n\n---\n### Dynamically Measuring Political Opinions and Subjectivity with VAE\n\nDrawing 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](https://github.com/keyonvafa/tbip) to conduct an ad hoc analysis and unsupervised modeling over political content in the format of tweets for eliciting  interpretable results.\n\nA simple EDA (What Is An [Exploratory Data Analysis](https://medium.com/@lamsampathkumar0/eda-exploratory-data-analysis-project-using-python-de90cbf4e128)?) will also be carried out in supporting the final analysis.\n\n---\n### Data Collection and Organization\nThis [repo](https://github.com/shiyis/project-inputs) serves as a sample data collection demo.\n(p.s. due to limited permissions of twitter API access, some of the data collected might not be as ideal). The data collection process involves using the Twitter API academic access and building a small tweet retrieving pipeline for the tweets.\n\n\n---\n### Literature Review\nPlease also check out the [references](https://raw.githubusercontent.com/shiyis/c4fe-tbip/master/references.bib) pertaining to this project. The file includes articles and resources that introduce the sufficient background in order to better understand this particular project. \n\n\n---\n### Final Project Demo\n\nPlease check out this [link](https://my-dash-app-ilf47zak6q-uc.a.run.app/) for a final demo. Also check out [dev](https://github.com/shiyis/politics/tree/dev) branch for src code.\n\nAlso check out this link for supplementary [docs](https://shiyis.github.io/politics-docs/) for this project.\n\n---\n### Privacy and Ethics Disclaimer\nThis project only explores the open tweets and data retrieved from Twitter API for personal non-commercial use. For a full collection of tweets, write me an email at shiyis@brandeis.edu\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiyis%2Fpolitics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshiyis%2Fpolitics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiyis%2Fpolitics/lists"}