Change the precision,recall calculation approach to be correct.