testgeo can generate the precision and the confusion matrix easily