1. A system for machine learning, comprising: a computer; a computer-readable medium having software stored thereon that, when executed by said computer, performs a method comprising the steps of: creating a reference similarity matrix relating a set of reference objects, said similarity matrix containing similarity scores between each reference object and all other reference objects; obtaining a transformation matrix that is the inverse of said reference similarity matrix; creating a query vector relating an unknown object to said set of reference objects using a similarity measure, said query vector containing similarity scores between said unknown object and each of said reference objects; generating an improved query vector using said transformation matrix; and learning which of said reference objects is a best match to said unknown object using said improved query vector.