Predict method for conditional models.