Blog

Medical Specialty Dashboard
August 9, 2016 /0 /0/More

See the Portfolio Page on this! We decided to restrict this to Adult Medicine specialties. I was able to find a very useful annual census on the Royal College...

Sonos Buttons
April 2, 2016 /0 /0/More

See the portfolio page for this! Although I have already made Sonart, which let's me put records 'on' with Sonos, I still wasn't quite satisfied with my music setup....

House Sales
January 10, 2016 /0 /0/More

See the portfolio page on this! Some notes on this analysis: Historical house sale transactions can be downloaded from the Land Registry. However, the address data isn't well mastered, and...

Quick install of Spark and Scala on Windows 7 in Standalone mode
November 5, 2015 /0 /0/More

I wanted an easy of way of developing scala and spark code on my local Windows machine. These steps got it working. 1. Download and install java: http://java.com/en/download/ 2. Install...

Creating a Glastonbury 2015 Sampler Playlist
May 26, 2015 /0 /0/More

I used python and the Spotify API to make a playlist with the top 3 tracks of (almost) every artist on the Glastonbury line-up. We were lucky enough to get Glastonbury...

Home Server Setup Steps
May 26, 2015 /0 /0/More

Below I've recorded (and slightly curated) the steps I took to get my home server fully up and running. Configuring Hardware Installing SSD First off I put the SSD...

Understanding the effect of limited precision GPS data on speed distributions
April 29, 2015 /0 /0/More

I've been looking at speed distributions derived from GPS tracking data. When I started to see some strange peaks in the distribution, I investigated to see if they were being...

New Site Format
April 11, 2015 /0 /0/More

I've migrated my blog to this new site, and in the process created a split between my projects, and my blog entries.

Scraping Weather Data
April 8, 2015 /0 /0/More

We recently had a requirement for UK weather data. A little digging around revealed that hourly weather observation data is available, free of charge from the UK met office,...

Sonart on Pi (Part II: The Application)
April 7, 2015 /0 /0/More

Sonart is my project to control Sonos / Spotify directly via a camera and album covers. I got the application up and running last night, and it works a...

Sonart
Sonart on Pi (Part I)
April 3, 2015 /0 /0/More

Sonart is my project to control Sonos / Spotify directly via a camera and album covers. Since building the POC (see my last post above), I wanted to make...

Sonart
Sonart
March 29, 2015 /0 /0/More

I have Sonos speakers in my flat. In combination with Spotify, this allows me to play just about whatever music I want, in whichever rooms of the flat, simply by...

Sonart
Using the GDAL library to convert spatial coordinates from Northings and Eastings to WGS84
December 29, 2014 /0 /0/More

I have written before about geospatial data types and the open source libraries which can be used to manipulate them. Today, I needed to take some geospatial data which was...

Geospatial
Building a Computer Vision rig with SimpleCV and IPython
November 3, 2014 /0 /0/More

Note: I also spotted the same pattern in a different override of the save method, so changed it there too... Finally, don't go to all the bother of...

Computer Vision
Breaking timeseries data into sessions
October 26, 2014 /0 /0/More

Edit: Since writing this I've found lots of ways to simplify this solution, for instance making use of the lag function in MS SQL, or MySQL solutions using variables,...

Data Science Map
October 23, 2014 /0 /0/More

A nice data science map by Swami Chandrasekaran.

Optimising with Simulated Annealing
October 9, 2014 /0 /0/More

Tasked with optimising a complicated system, I went down the route of heuristic optimisation and ended up creating a simulated annealing algorithm in R. I don't want to go into too...

Simulated Annealing
Cygwin and Awk
September 25, 2014 /0 /0/More

Always a great fallback tool when you get ugly flat files. Recently I received 45 500mb flat files. Each one had a 5 lines of headers, with the row...