make predicitons from probabilities and calculate accuracy