Is a post more likely to be in the r/Republican vs r/democrats subreddit?

In my favorite project that I’ve done so far, I analyzed the posts in the r/Republican and r/democrats subreddits (I refer to these as the Republican and Democrat subreddits for the remainder of this blog post). The overall goal of this project was to predict whether a post is from the Republican or Democrat subreddit. In addition, I wanted to look at common and unique words to each and see if I saw any additional interesting insights.

Overall Process


Photo by ThisIsEngineering from Pexels

As I move from engineering into data science, there are some key aspects of data science that I’m excited about:


Photo by Taryn Elliott from Pexels
Photo by Taryn Elliott from Pexels
Photo by Taryn Elliott from Pexels

In my first blog post, I initially planned to post my motivation for switching careers. However, the more I thought about what it means to be a ‘career-changer’, I realize that I’m not really changing the essence of what I do, but just my job title. So instead, I’m writing about how I’m going to continue doing what I’ve always done — just rather than doing my work from a boom lift or a rooftop, I’ll be in front of a computer.

Over the past 10 years, my job title has included engineer, research assistant, and lecturer, and of these…

Jenn Williamson

I’m a data scientist with a background in consulting, engineering, and teaching. I like to describe my thought process in a fun, clear, and thoughtful manner.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store