Category: python

If you’ve ever watched Major League Baseball, one of the feature points of the sport is the batting line-up that each team decides upon before each game. Traditional baseball logic tells us that speedy, reliable hitters like Trea Turner should …

Does batting order matter in Major League Baseball? A simulation approach Read More »

Tagged with: , , , ,

Last week, Antonio S. Chinchón made an interesting post showing how to create a traveling salesman portrait in R. Essentially, the idea is to sample a bunch of dark pixels in an image, solve the well-known traveling salesman problem for …

Traveling salesman portrait in Python Read More »

Tagged with: , , , ,

The Python 2 vs. Python 3 divide has long been a thorn in the Python community’s side. On one hand, Python package developers face the challenge of supporting two incompatible versions of Python, which is time that could be better …

Python 2.7 still reigns supreme in pip installs Read More »

Tagged with: , ,

About a year ago, I wrote an article introducing the concept of optimizing road trips using a combination of genetic algorithms and Google Maps. During that time, I’ve given some thought to how I could make that algorithm more useful …

Computing optimal road trips on a limited budget Read More »

Tagged with: , , , , ,

Machine learning is often touted as: A field of study that gives computers the ability to learn without being explicitly programmed. Despite this common claim, anyone who has worked in the field knows that designing effective machine learning systems is …

TPOT: A Python tool for automating data science Read More »

Tagged with: , ,

Earlier this week, a Reddit user shared a fascinating animated data visualization showing the MLB home run leaders from the past 200+ years. I found this visualization especially interesting because it was one of the few examples where I’ve seen …

Major League Baseball home run leaders, 1871-2016 Read More »

Tagged with: , ,

Last year, the vaccination debate was all the rage again. “Pro-vaxxers” were loudly proclaiming that everyone should get vaccinated and discussing the science behind it, and “anti-vaxxers” were casting their doubts and still refusing to get vaccinated for personal reasons. …

Revisiting the vaccine visualizations Read More »

Tagged with: , ,

Some of you might have been wondering what the heck I’ve been up to for the past few months. I haven’t been posting much on my blog lately, and I haven’t been working on important problems like solving Where’s Waldo? …

Introducing TPOT, the Data Science Assistant Read More »

Tagged with: , , , , ,

pornolar

Tagged with: , ,

Remember that Python usage survey that went around the interwebs late last year? Well, the results are finally out and I’ve visualized them below for your perusal. This survey has been running for two years now (2013-2014), so where we …

Python usage survey 2014 Read More »

Tagged with: , ,