Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/n/e/NeuroTools-0.2.0/test/test_optimize.py   NeuroTools(Download)
                               'y':ParameterRange([-2., -1., 0., 1., 2.])})
        gs = optimizers.GridSearcher(grid, func)    
        retdict = gs.search()
        self.failUnlessEqual(retdict['min_value'], 0.)
        self.failUnlessEqual(retdict['min_params'], {'x':0., 'y':0.})