def METHOD_NAME(self):
    from photonai.base import Hyperpipe
    from sklearn.model_selection import KFold
    my_pipe = Hyperpipe('permutation_test_1',
                        optimizer='grid_search',
                        metrics=['accuracy', 'precision', 'recall'],
                        best_config_metric='accuracy',
                        outer_cv=KFold(n_splits=2),
                        inner_cv=KFold(n_splits=2),
                        calculate_metrics_across_folds=True,
                        use_test_set=True,
                        verbosity=0,
                        project_folder=self.tmp_folder_path)
    return my_pipe