1. A method for classifying, identifying or verifying an object comprising the computer implemented steps of: representing an object by a respective sequence of vectors; modeling the sequence of vectors with a respective generative model such that the object is represented by the generative model; and using the generative model, classifying, identifying or verifying the object.