Vector generator method for classification