Category: Uncategorized

Home / Sonart on Pi (Part I) / Uncategorized

Sonart on Pi (Part I)

April 3, 2015/0/0/

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 this a permanent capability for my Sonos set up. I decided to build a 'production' version, on top of Raspberry Pi hardware. This post is about how [...]

Uncategorized

Building a Computer Vision rig with SimpleCV and IPython

November 3, 2014/0/0/

A project of mine requires some image processing and OCR, which has led me into the interesting world of computer vision. My initial research led me pretty quickly to OpenCV which is used by google among others for all things computer vision. However, this seemed a bit overkill for my use case, and with a [...]

Uncategorized

Breaking timeseries data into sessions

October 26, 2014/0/0/

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, but I'll leave this here anyway! Problem: You have a lot of data about users interacting with your site, with a UserID and timestamp for each transaction. [...]

Uncategorized

Data Science Map

October 23, 2014/0/0/
datasciencemap_0_o

A nice data science map by Swami Chandrasekaran.

Uncategorized

Optimising with Simulated Annealing

October 9, 2014/0/0/

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 much detail about how the model works, because that has been done well enough elsewhere, but essentially it is a smart way of searching through all [...]

Uncategorized

Cygwin and Awk

September 25, 2014/0/0/

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 names on the fourth line. I used the following to build a single file with a 1 line header:

Uncategorized
12