def METHOD_NAME(self, filename, model_id, threshold, locally, data, columns, predicted_at, output, 
    no_features_in_result, score, score_true_data, predict_labels, from_redeploy=False):
    if locally:
        self.deploy(model_id, locally, review=False, name=None, algorithm=None, score=None, data_path=None)
    try:    
        predicted = Model(self.ctx, project=None).METHOD_NAME(
            filename, model_id, threshold, locally, data, columns, predicted_at, output, 
            no_features_in_result, score, score_true_data, predict_labels)
    except Exception as e:
        if locally and not from_redeploy and 'Auger model error' in str(e):            
            self.redeploy_predict(filename, model_id, threshold, locally, data, columns, predicted_at, output, 
                no_features_in_result, score, score_true_data, predict_labels)
        else:
            raise
    if output:
        self.ctx.log('Predictions stored in %s' % predicted)
    if isinstance(predicted, dict) and 'predicted' in predicted:
        return predicted
    return {'predicted': predicted}