Building a Machine Learning Model to Predict Plane Take Off Weight for the Opensky PRC Data Challenge


The past few months I’ve used my spare blog energy to work on a fun project that I’d like to loop everyone into!

On August 1st I received an email from the OpenSky listserv (I became a member while building) my Planes Overhead app for the Tidbyt) announcing a data science challenge, focused on predicting plane take off weights. This challenge felt precision targeted for me, as a great lover of planes and machine learning dilettante!

Read More

How to Quickly Extract and Map Locations from a Bunch of Images Using EXIF Data


I’ve got a long-running project in the works which involves temperature sensors that I’ve deployed in a number of locations in Santa Monica. Earlier today, it came time to finally go recover those temperature sensors - I wanted to share a little tool I made to make the job quick and easy!

The Task

When I put out the sensors, snapping a quick photo was all I did to track their location. I knew that iPhones record the locations where photos are taken, by default, and assumed I would probably just flip through and manually transcribe the list of coordinates when it came time to retrieve the sensors.

Read More

Visualizing Home Run Differential by Team in the 2024 MLB Season


It’s been a tough year to be a Washington Nationals fan. It’s been a tough five seasons honestly… since that amazing 2019 World Series win over the Astros, the franchise has been mired in a teardown and rebuild, which is finally showing some signs of progress but has yet to deliver consistent winning baseball.

One thing that’s particularly evident when watching the team is the degree to which the Nats get outhomered by their opponents. While the pitching has been surprisingly respectable this year, the offense has been much too reliant on small ball and baserunning to generate runs, which makes it very difficult to score in batches and compete in a brutally competitive NL East, full of clubs that have no problem putting the ball out of play.

Read More

The NFL's New Kickoff Rule Looks Set to Boost Offense


With the NFL season right around the corner, I thought it would be fun to preview the potential impact of one of the biggest rule changes the NFL has made.

Anyone who has watched football in the past decade knows that kickoffs have been a “dead” play - kickers are so good at generating touchbacks that we rarely see returns, formerly one of most fun plays in the game. Furthermore, when returns do happen, injury rates have been concerningly high, with tacklers and blockers colliding at high speeds after long run-ups.

Read More

Checking in on Triple-A's Robo Umpires


Major League Baseball (MLB) has a long history of using the minors as a sandbox for rules reforms - with the recent testing and rollout of the pitch clock as a prime example.

This season, the “robo ump”, formally known as the automatic ball-strike (ABS) system, is being trialed across all of Triple-A. This system implements the strike zone as a rectangle set in the middle of the plate, measuring 17 inches wide and spanning between 27% and 53.5% of the batter’s height.

Read More

Overturning the Conventional Wisdom about Pitches per Plate Appearance: Long At-Bats Aren't Necessarily Better for Hitters and Worse for Pitchers


Despite a surprisingly-solid record of 36-37 out of the gate for the Washington Nationals (thank you pitching staff!), one recurring theme has bugged me: a lack of patience by our hitters.

Too often, I’ve felt, have they swung at sub-optimal pitches early in at-bats, leading to mediocre contact and letting opposing pitchers skate through the game with low pitch counts. “If only they could be patient like the Yankees!”, I’ve murmured to myself, too many times to count - “then they’d be able to get the right pitches to drive”.

Read More

Four Ways of Visualizing Foreign and Domestic Passenger Volume at America's Largest Airports


Earlier this week, I saw a post on one of my favorite internet forums (Airliners.net) which shared some cool data: the number of international passengers at the 30 largest US airports, split by foreign and domestic passport holders.

I’ll let the original poster LAXdude1023 point out what is meaningful about this data:

“While the below is NOT O&D data, it does give a significant window into each market. A higher concentration of foreign passport holders implies that the international demand for the market is more skewed towards foreign point of sale. A high point of US sale would imply that market demand comes from the US.”

Read More

Exploring MLB Statcast's New Bat Tracking Data


For the 2024 season, Major League Baseball (MLB) upgraded the Statcast cameras in each stadium so that path, extension, and velocity data can be captured for every swing. This data is now available in the Statcast portal, and it’s so cool that I couldn’t help but mess around with it!

To be honest, I haven’t had the time to put together a really thoughtful analysis of the data and how it interacts with batted ball metrics, pitch locations, game situations, etc. - but I have started visualizing the bat tracking data at an individual and team level, and found that it’s still pretty cool as a standalone dataset!

Read More

Will the Seine be Safe for Olympic Swimmers This Summer? The Parisian Government is Planning on it, Despite Mounting Data to the Contrary


A few months ago, I spent a week in Paris with my mom and sister, visiting museums and exploring the city. One of the more exciting things we stumbled upon was the 2024 Summer Olympics countdown timer in the Place de la Concorde, which signaled 7 months until opening ceremonies - pretty cool to see!

As we read about the government’s plans to host events throughout the city, we discovered that they intend to use the Seine to host swimming events - a proposal our group found to be completely laughable. If you’ve seen the river in person, you’ll know exactly what I mean - it’s wide, full of current, and notorious for being the final landing place for the city’s sewer runoff - so it’s no surprise that swimming has been illegal since 1923.

Read More

Published! How I Finished Off My 'Planes Overhead' App and Got It Published to the Tidbyt App Store


Last February, I began writing an app for my Tidbyt smart display. This April, at long last, I finally published it!

If you recall my initial post on the topic, I had planned to create a flight arrivals/departures board for my home airport, LAX. However, difficulties with metered API access (most data sources had low daily API caps of 50-200 uses) and schedule caching pushed me towards a “simpler” question to solve - can I identify planes flying overhead?

Read More