def _getTrainerForParams(self, params):
        trainer = copy.deepcopy(self._trainer)
        trainer.setArgs(cost=2 ** params[0], gamma=2 ** params[1], ver=0)
        return trainer
Takes a string containing a function name (optionally module qualified) and returns a callable object
dataset/ETHPy150Open pybrain/pybrain/pybrain/tools/gridsearch.py/GridSearchDOECostGamma._getTrainerForParams--crossover with--dataset/ETHPy150Open nigelkersten/pymacadmin/bin/crankd.py/get_callable_from_string