Questions? Feedback? powered by Olark live chat software

Political Party Affiliation Predictor

The amount you are willing to donate to a political campaign, be it a president, senator, or local representative, can allow us to predict with near certainty your party affiliation. When taking into account additional factors, such as occupation and state of residence, this becomes even more accurate. Don't believe us? Try it yourself and see if we're wrong.
Which political party are you more likely to donate to?


About the Political Party Affiliation Predictor App

Companion Blog

Find all of our indepth analysis and insights on what we mined out of this data. Understand the top 1% contributors vs the bottom 99%.

The Data

Under the Federal Election Campaign ("FEC") Act, all contributions made to federal candidates, committees, or parties over $200, must be reported. These records are made publicly available through the FEC and several other websites. The data can be found here and spans 2011-2012 and 2013-2014 election cycles.

The Model

The model was built using Azure Machine Learning Studio and R. The data was processed, cleaned, and prototyped in R. The final model was trained and hosted on Azure Machine Learning Studio and features a multi-class logistic regression.

The Website

The predictive model is wrapped around the Django framework and JavaScript. Django is a Python based web framework used for rapid deployment of websites.