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