def _validate(self, params):
        glob_idx = tuple(params)
        perf = self._performances

        if glob_idx not in perf:
            trainer = self._getTrainerForParams(params)
            local_perf = CrossValidator(trainer, self._dataset, self._n_folds, **self._validator_kwargs).validate()
            perf[glob_idx] = local_perf
        else:
            local_perf = perf[glob_idx]
        return local_perf
Returns the patterns used for searching.
dataset/ETHPy150Open pybrain/pybrain/pybrain/tools/gridsearch.py/GridSearchDOECostGamma._validate--crossover with--dataset/ETHPy150Open a-tal/pyweet/pyweet/colors.py/Term.patterns