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

All Samples(15)  |  Call(7)  |  Derive(0)  |  Import(8)

src/n/e/NeuroTools-0.2.0/examples/parameter_search/parameter_search_example.py   NeuroTools(Download)
    rates = numpy.linspace(start = 10., stop = 100.,  num = 5)
    weights = numpy.linspace(start = 0.1,  stop = 1.0, num = 5)
    from NeuroTools.parameters import ParameterSet, ParameterSpace, ParameterRange
    params = ParameterSpace(ParameterSet({'rate':ParameterRange(rates), 
                                          'weight': ParameterRange(weights)}))

src/n/e/NeuroTools-0.2.0/examples/sfn2008/sfn_example_parameterspace.py   NeuroTools(Download)
sg = stgen.StGen()
 
from NeuroTools.parameters import ParameterSpace
from NeuroTools.parameters import ParameterRange
from NeuroTools.sandbox import make_name
 
# creating a ParameterSpace
p = ParameterSpace({})

src/n/e/NeuroTools-0.2.0/examples/retina/test_parallel.py   NeuroTools(Download)
    """
    N_snr, N_seeds =  5, 10
    from NeuroTools.parameters import ParameterSpace, ParameterRange
    import numpy
    params =  ParameterSpace({

src/n/e/NeuroTools-0.2.0/examples/retina/benchmark_linear.py   NeuroTools(Download)
N, N_exp = 1000, 6
t_smooth = 100. # width (in ms) of the integration window
from NeuroTools.parameters import ParameterSpace, ParameterRange
snr  = 2.0 * numpy.linspace(0.1,2.0,N_exp)
p = ParameterSpace({'snr' : ParameterRange(list(snr))})

src/n/e/NeuroTools-0.2.0/examples/parameters/LGN_receptive_field.py   NeuroTools(Download)
 
import numpy, pylab
from NeuroTools.parameters import ParameterSpace
from NeuroTools.parameters import ParameterRange
from NeuroTools.sandbox import make_name
def default_parameters():
    # receptive field parameters
    p = ParameterSpace({})
    p.Ac = 1.
    p.As = 1./3.

src/n/e/NeuroTools-0.2.0/src/optimize/optimizers.py   NeuroTools(Download)
 
from NeuroTools.optimize import parameter_search
from NeuroTools.parameters import ParameterSpace
 
class GridSearcher():

src/n/e/NeuroTools-0.2.0/test/test_optimize.py   NeuroTools(Download)
    def test_gridsearcher(self):
        def func(param_dict):
            x,y = param_dict['x'], param_dict['y']
            return x*x + y*y
        from NeuroTools.parameters import ParameterSpace, ParameterRange
        grid = ParameterSpace({'x':ParameterRange([-2., -1., 0., 1., 2.]),

src/p/y/PyNN-HEAD/test/unsorted/explore_space.py   PyNN(Download)
from optparse import OptionParser
import socket
from NeuroTools.parameters import ParameterSpace
from NeuroTools import datastore
from simple_rexec import JobManager
 
# iterate over the parameter space, creating a job each time
parameter_space = ParameterSpace(url)
tempfiles = []
job_manager = JobManager(host_list, delay=0, quiet=False)