Mean Average Precision Python