A k-nearest neighbours classifier that can operate on multidimensional data, no external modules needed.