When doing an automatic classification, we can evaluate its result wth precision and recall. That is to say, we can evaluate the accuracy of a classification by counting false positives and false negatives. I'm working on an automatic ranking, and I would like to evaluate it. For example, if my algorithm tells : 1st is Foo, 2nd is Bar, 3rd is Egg, and if I know the true answer is 1st is Egg, 2nd is Bar, 3rd in Foo, how can I tell if this is a quite good answer or not ?