1. A method of deriving a function for classifying items of currency, the method comprising processing training data vectors corresponding to features of a plurality of currency items, and deriving a support vector machine classification function involving a plurality of support vectors.