def search(self):
        self._n_params = len(self._min_params)

        center = self._min_params + self._range / 2.
        for level in range(self._n_iterations):
            grid = self._calcGrid(center, level)
            local_perf = apply_along_axis(self._validateWrapper, 1, grid)

            max_idx = local_perf.argmax()
            center = grid[max_idx]
            if self._verbosity > 0:
                print()
                print(("Found maximum at:", center, "   performance = ", local_perf[max_idx]))
                print()

        return center
The main search method, that validates all calculated metaparameter
dataset/ETHPy150Open pybrain/pybrain/pybrain/tools/gridsearch.py/GridSearchDOE.search