Use mean square error to detect the best candidate.