About Partisan Discourse
Learn about the team, motivation, and technology behind the Partisan Discourse application.
Purpose and Motivation
Partisan Discourse is a Django application designed to highlight the operation and management of multiple machine learning models in a web application.
This application is intended to show the operation of multiple machine learning models trained to predict the categorization of text documents similar to sentiment analysis, but in this case to detect partisanship. More than one model is at work in this application: an initial model trained on the transcripts of the Democratic and Republican debates, a global model trained on all document annotations, models trained by experts, and per-user models for all participants. The point isn't necessarily to meaningfullly detect partisanship but rather to provide an understandable framework for how machine learning works in web applications.
The original work on political classification using text modeling was performed by students in the Georgetown University Data Science Certificate Program. They described a method to classify text as “red” or “blue” based on a model trained on transcripts from the 2016 Presidential Candidate Debates. They applied the model to a variety of news sources to determine if they could detect bias. In the process of their exploration they noted that bias was subjective and that models could be influenced by that bias.
By allowing users to add their own documents and annotate them, we hope to demonstrate how web applications can learn and grow from user interaction as well as demonstrate how bias and subjectivity effect applications.
The Development Team
Development and research of the Partisan Discourse application is incubated by District Data Labs as an open source web application.
DDL Contributing Faculty
Open Source Contributors
Partisan Discourse is an open source application, you can contribute by opening an issue or submitting a pull request. Please refer to the documentation for contribution guidelines and getting started for development.
Built With Technology Credits
We didn't develop Partisan Discourse from scratch, we used many open source technologies that we'd like to credit here.
The backend is completely written in Python using Python tools!
- Django by the Django Software Foundation from www.djangoproject.com is licensed by the Django BSD License
- Django REST Framework by Tom Christie from django-rest-framework.org is licensed by the DRF License
- Scikit-Learn from scikit-learn.org is licensed by the New BSD License
We are not designers, and the design of the website relies completely on Boostrap components!
- Bootstrap from getbootstrap.com is licensed by the MIT License
- Yeti Bootswatch by Thomas Park from bootswatch.com is licensed by the MIT License
- jQuery by the jQuery Foundation from jquery.com is licensed by the jQuery License
- Underscore from underscorejs.org is licensed by the Underscore License
Graphical elements take a lot of work to build and we appreciate those who allow us to use them!