jcalcutt.github.io __main__

Interview Questions

Coding Interview Questions. Time-pressured, no-googling tasks that you are not likely to encounter in your usual day-to-day - but are used to help determine if you’re suitable for the job. I’ve (succesfully!) encountered a few of late, so I’ve picked a selection of my ‘favourites’ to walk through. 1. Roman Numerals Given a year, convert it t... Read more

Bike Racing, Tactics, and Python

Racing bikes is tough. From my experience, to be successful in a race, it takes something like: 70% fitness, 20% tactics and 10% luck. I’ve been racing bikes for a few years now. There’s a lot to enjoy about racing and riding, but the things that stand out for me are: the adrenaline of riding fast, the social aspect of it, and the feeling whe... Read more

NLP of WhatsApp Conversation

I’ve used the Natural Language Processing (NLP) powers of the NLTK Python library in the past. However, I feel like I’ve only brushed the surface of it’s capabilities - so, my goal here was to delve a bit deeper, and try to extract some interesting insight from some of my own textual WhatsApp data with the NLTK library. Data comes in all shap... Read more

K-means Clustering FIFA 18 Player Data

K-means clustering is a method of unsupervised learning to group unlabelled data from a multi-dimensional dataset into a pre-defined number of clusters. Quite wordy that. Essentially, it’s an algorithm that works to find groups (or clusters) within a dataset - a really useful tool, with lots of potential real-world applications. Here, as a prac... Read more

Investigating My Apple Activity Data With Python

Hidden away in a rarely opened folder on my IPhone is the ‘health’ app. I’ve known for a little while that it has an activity tracking capability (essentially a pedometer), but it’s not something I’ve thought twice about until fairly recently. I’ve unwittingly been collecting data about my activity for well over the last two years …Surely, the... Read more