Publications by Vik Paruchuri

Using the power of sound to figure out which Simpsons character is speaking

18.07.2013

In a previous post, I looked at transcripts of Simpsons episodes and tried to figure out which character was speaking which line. This worked decently, but it wasn’t great. It gave us memorable scenes like this one: Homer : D'oh! A deer! A female deer. Marge : Son, you're okay! Bart : Dad, I can't let you sell him. Stampy and I are frien...

12801 sym R (112 sym/1 pcs) 14 img

Do the Simpsons characters like each other?

21.07.2013

One day, while I was walking around Cambridge, I had a random thought — how do the characters on the Simpsons feel about each other? It doesn’t take long to figure out how Homer feels about Flanders (hint: he doesn’t always like him), or how Burns feels about everyone, but how does Marge feel about Bart? How does Flanders feel about Home...

7802 sym R (131 sym/2 pcs) 12 img

Making infographics using R and Inkscape

24.07.2013

I have been making charts with R for almost as long as I have been using R, and with good reason: R is an amazing tool for filtering and visualizing data. With R, and particularly if we use the excellent ggplot2 library, we can go from raw data to compelling visualization in minutes. But what if we want to give our visualizations an extra kick? ...

5476 sym 24 img

Evolve your own beats: automatically generating music via algorithms

26.07.2013

I recently went to an excellent music meetup where people spoke about the intersection of music and technology. One speaker in particular talked about how music is now being generated by computer. Music has always fascinated me. It can make us feel emotions in a way few media can. Sadly, I have always been unable to play an instrument well. G...

12810 sym 10 img 1 tbl

Programming instrumental music from scratch

29.07.2013

I recently posted about automatically making music. The algorithm that I made pulled out interesting sequences of music from existing songs and remixed them. While this worked reasonably well, it also didn’t have full control over the basics of the music; it wasn’t actually specifying which instruments to use, or what notes to play. Maybe I...

16214 sym R (573 sym/1 pcs) 14 img 1 tbl

How divided is the Senate?

29.07.2013

I very seldom pay attention to politics directly, because politics have always seemed a bit circular and cyclical to me. Most of the political news that I take in ends up worming its way into the news sources that I do consume, like the excellent longform.org. Even given my limited intake of political news, one trend that I have noticed lately ...

7026 sym R (693 sym/2 pcs) 10 img 4 tbl

The power, and danger, of visualizations

07.08.2013

I recently posted about visualizing the voting patterns of senators. In the post, I scraped voting data for each senator on every vote in the 113th Congress from the Senate website, and then assigned a code of 0 for a no vote on a particular issue, 1 for a yes vote, 2 for abstention, and 3 if the senator was not in office at the time of the vote...

4402 sym 4 img

What makes us happy? Let’s look at data to find out.

13.11.2013

I’ve had a lot of different jobs over the past 4 years, and I’ve had some incredible experiences along the way. Lately, I’ve been struggling with what to do next. Or perhaps more accurately, I’ve been struggling with how to decide what to do next. Decisions that seem obvious in hindsight are tough to come to grips with beforehand, and ...

10850 sym 12 img

Exploring US healthcare data

13.04.2014

A few days ago, the Centers for Medicare and Medicaid Services (CMS) released some unprecedented data on the US healthcare system. The data consists of 9 million rows showing how much each doctor in the US charged Medicare, for what, and how much Medicare paid out. It doesn’t quite cover everything (for example, services with less than 11 benef...

8058 sym R (2023 sym/9 pcs)