Contrast inference and prediction.