thresholding and adding in ground truth analysis