July 10, 2007 - 05:00 PHPSQLI took a data mining course during my third year - here's an implementation of the (k-)nearest neighbour algorithm in PHP.