Example #1
0
# -*- coding: utf-8 -*-
import sys

from mozaik.meta_workflow.parameter_search import (
    CombinationParameterSearch,
    LocalSequentialBackend,
    SlurmSequentialBackend,
)
import numpy

CombinationParameterSearch(
    LocalSequentialBackend(),
    {
        "sheets.exc_layer.ExcExcConnection.weights": numpy.linspace(0.0, 0.006, 5),
        "sheets.inh_layer.InhExcConnection.weights": numpy.linspace(0.0, 0.06, 5),
        "sheets.exc_layer.params.cell.params.tau_m": [10, 11, 12],
        "sheets.exc_layer.params.cell.params.cm": [0.2, 0.1],
    },
).run_parameter_search()
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch, SlurmSequentialBackend
import numpy
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=4,num_mpi=1),{'l4_cortex_exc.L4ExcL4ExcConnection.base_weight' : numpy.linspace(0.0,0.006,20),'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : numpy.linspace(0.0,0.05,20)}).run_parameter_search()
CombinationParameterSearch(
    SlurmSequentialBackend(num_threads=4, num_mpi=1), {
        'l4_cortex_exc.L4ExcL4ExcConnection.base_weight':
        numpy.linspace(0.0, 0.006, 20),
        'l4_cortex_exc.L4ExcL4ExcConnection.weight_functions.f1.params.push_pull_ratio':
        numpy.linspace(0.0, 1.0, 10)
    }).run_parameter_search()
Example #3
0
# Parameter search for Gain control
#
# the function LocalSequentialBackend takes a model with parameters
# and executes the simulation replacing the parameters listed in the CombinationParameterSearch
#
# usage:
# python parameter_search.py run.py nest param/defaults

from mozaik.meta_workflow.parameter_search import CombinationParameterSearch
from mozaik.meta_workflow.parameter_search import LocalSequentialBackend
import numpy

CombinationParameterSearch(
    LocalSequentialBackend(num_threads=1),
    {
        'retina_lgn.params.gain_control.non_linear_gain.contrast_scaler':
        [0.05, 0.03, 0.01, 0.009],
        #'retina_lgn.params.gain_control.gain': [3,7,11,15,19,23],
        # 'retina_lgn.LGN_LGN_Connection.weight_functions.f1.params.arborization_constant': [ 100.0, 200.0 ],  # um decay distance from the innervation point
        # 'retina_lgn.LGN_LGN_Connection.base_weight': [ .0001, .005, .001 ], # uS
        # 'retina_lgn.LGN_LGN_Connection.num_samples': [ 10, 30, 50 ],
    }).run_parameter_search()
Example #4
0
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch,SlurmSequentialBackendUK
import numpy
import time

if True:
    CombinationParameterSearch(SlurmSequentialBackendUK(num_threads=16,num_mpi=1),{
				         'sheets.l4_cortex_exc.L4ExcL4InhConnection.base_weight' : [0.001],
				         'sheets.l4_cortex_inh.L4InhL4ExcConnection.base_weight' : [0.0021,0.0022],
				         }).run_parameter_search()


# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch, SlurmSequentialBackend
import numpy
import time

if True:
    CombinationParameterSearch(
        SlurmSequentialBackend(
            num_threads=16,
            num_mpi=1,
            slurm_options=['--hint=nomultithread'],
            path_to_mozaik_env=
            '/home/antolikjan/virt_env/mozaik-python3/bin/activate'), {
                'trial': [1],
                'pynn_seed': [263, 503, 701, 947],
            }).run_parameter_search()
 CombinationParameterSearch(
     SlurmSequentialBackendIoV(num_threads=6, num_mpi=1),
     {
         'sheets.l4_cortex_exc.L4ExcL4InhConnection.base_weight': [0.0024],
         #									     'sheets.l4_cortex_exc.inhibitory_connection_ratio' : [0.75],
         'sheets.l4_cortex_exc.params.cell.params.tau_syn_I': [1.9],
         'sheets.l4_cortex_exc.params.cell.params.v_thresh': [-56],
         'sheets.l4_cortex_exc.L4ExcL4ExcConnection.short_term_plasticity.tau_rec':
         [100],
         #									     'sheets.l4_cortex_exc.L4ExcL4ExcConnection.weight_functions.f1.params.sigma' : [1.6],
         #									     'sheets.l4_cortex_exc.L4ExcL4InhConnection.weight_functions.f1.params.sigma' : [3.0],
         #									     'sheets.l4_cortex_exc.AfferentConnection.off_bias' : [1.0],
         'sheets.retina_lgn.params.gain_control.gain': [60],
         #									     'sheets.retina_lgn.params.gain_control.non_linear_gain' : [None],
         'sheets.retina_lgn.params.receptive_field.func_params.sigma_s':
         [0.5],
         'sheets.retina_lgn.params.receptive_field.func_params.sigma_c':
         [0.2],
         'sheets.l4_cortex_exc.L4ExcL4ExcConnection.weight_functions.f1.params.sigma':
         [1.6],
         #									     'sheets.l4_cortex_exc.L4ExcL4InhConnection.weight_functions.f1.params.sigma' : [0.4,0.6,0.8,1.0,1.2,1.6,2.0,2.4,2.8,3.2,3.6,4.0],
         'sheets.retina_lgn.params.gain_control.non_linear_gain.contrast_scaler':
         [1500000],
         'sheets.retina_lgn.params.gain_control.non_linear_gain.luminance_gain':
         [0.0],
         'sheets.l4_cortex_exc.L4ExcL4ExcConnection.weight_functions.f1.params.sigma':
         [1.6],  #[0.6,0.7,0.8,0.9,1.0,1.2,1.4,1.6,2.0,2.4,3.0,4.0,100],
         #									     'sheets.l4_cortex_exc.L4ExcL4InhConnection.weight_functions.f1.params.sigma' : [0.6,0.7,0.8,0.9,1.0,1.2,1.4,1.6,2.0,2.4,3.0,4.0,100],
         'sheets.l4_cortex_inh.L4InhL4ExcConnection.weight_functions.f1.params.sigma':
         [2.0],  #[0.6,0.7,0.8,0.9,1.0,1.2,1.4,1.6,2.0,2.4,3.0,4.0,100],
         #									     'sheets.l4_cortex_exc.AfferentConnection.size' : [0.15],
         #									     'only_afferent' : [True,False],
         #									     'sheets.retina_lgn.params.cached' : [True,False],
         #									     'sheets.retina_lgn.params.gain_control.non_linear_gain.luminance_scaler' : [0.1,0.5],
         'sheets.retina_lgn.params.noise.stdev': [2.4],
         #									     'sheets.l4_cortex_exc.params.density' : [2000],
     }).run_parameter_search()
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch, SlurmSequentialBackend
import numpy
import time

if True:
    CombinationParameterSearch(
        SlurmSequentialBackend(
            num_threads=8,
            num_mpi=1,
            path_to_mozaik_env='/home/jantolik/virt_env/mozaik/bin/activate',
            slurm_options=['--hint=nomultithread']), {
                'sheets.l4_cortex_inh.L4InhL4ExcConnection.base_weight':
                [0.0023, 0.0028, 0.0029],
                'sheets.l4_cortex_exc.L4ExcL4InhConnection.base_weight':
                [0.0009, 0.0008, 0.0007, 0.0006],
                'sheets.l4_cortex_exc.params.cell.params.tau_syn_I': [11, 15],
            }).run_parameter_search()
Example #8
0
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch, SlurmSequentialBackendIoV
import numpy
import time

if True:
    CombinationParameterSearch(
        SlurmSequentialBackendIoV(num_threads=20, num_mpi=1), {
            'sheets.l4_cortex_exc.L4ExcL4InhConnection.base_weight': [0.0013],
            'sheets.l4_cortex_exc.params.cell.params.v_reset': [-60],
            'sheets.l4_cortex_exc.params.cell.params.tau_syn_I': [1.9],
            'sheets.l4_cortex_exc.layer23_aff_ratio': [0.25],
            'sheets.l4_cortex_exc.L4ExcL4ExcConnection.base_weight': [0.0008],
            'sheets.retina_lgn.params.noise.stdev': [3.2],
            'sheets.retina_lgn.params.gain_control.gain': [30],
            'sheets.l4_cortex_exc.AfferentConnection.size': [0.17],
            'sheets.l4_cortex_inh.ExcInhAfferentRatio': [1.2],
            'sheets.l23_cortex_inh.L4ExcL23InhConnection.num_samples': [135],
            'sheets.l4_cortex_exc.L4ExcL4ExcConnection.weight_functions.f1.params.sigma':
            [1.2],
            'with_cortical_conn': [True],
            'sheets.l4_cortex_exc.AfferentConnection.base_weight': [0.0012],
        }).run_parameter_search()

if False:
    CombinationParameterSearch(
        SlurmSequentialBackendIoV(num_threads=30, num_mpi=1),
        {
            #									     'sheets.l23_cortex_exc.L23ExcL4InhConnection.base_weight' : [0.002],
            #									     'sheets.l4_cortex_exc.layer23_aff_ratio' : [0.3,0.35],
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch, SlurmSequentialBackend, SlurmSequentialBackendMPI
import numpy
import time

if True:
    CombinationParameterSearch(
        SlurmSequentialBackend(
            num_threads=16,
            num_mpi=1,
            slurm_options=['--hint=nomultithread'],
            path_to_mozaik_env='/home/antolikjan/virt_env/mozaik/bin/activate'
        ), {
            'trial': [1],
            'sheets.retina_lgn.params.density': [100, 50, 30],
        }).run_parameter_search()
Example #10
0
import numpy

CombinationParameterSearch(
    LocalSequentialBackend(num_threads=8),
    {
        # 'lgn.params.receptive_field.func_params.c2' : [0.05, 0.06, 0.07, 0.08, 0.09, 0.1],
        #'lgn.params.receptive_field.func_params.K1' : [0.525, 1.05, 2.1, 3.15, 4.2],
        #'lgn.params.receptive_field.func_params.K2' : [0.35, 0.7, 1.4, 2.1, 2.8],

        # 'lgn.params.noise.stdev' : [1,2,3,4,5],
        # 'lgn.params.retino_thalamic_weight' : [.005, .01, .02],

        # 'lgn.params.gain_control.gain' : [150, 200, 250, 300], #, 400, 450, 500, 550],
        # 'lgn.params.gain_control.non_linear_gain.luminance_gain' : [200000., 230000., 250000., 280000.],
        # 'lgn.params.gain_control.non_linear_gain.luminance_gain' : [0.001, 0.0001, 0.00001],

        # 'pgn.LGN_PGN_ConnectionOn.base_weight': [.002], # automatic (ref) assignment also to Off neurons
        'pgn.PGN_LGN_ConnectionOn.base_weight':
        [.0008, .001],  # automatic (ref) assignment also to Off neurons
        # 'pgn.PGN_PGN_Connection.base_weight': [.0002], #.001, .005],
        'pgn.PGN_PGN_Connection.num_samples': [40, 90],
        # 'pgn.params.cell.params.tau_m': [17.0]

        # 'l4_cortex_exc.AfferentConnection.base_weight' : [.002],
        # 'l4_cortex_exc.EfferentConnection_LGN.num_samples' : [100, 150], #200],
        # 'l4_cortex_exc.EfferentConnection_LGN.base_weight' : [ .0001, .0005],
        'l4_cortex_exc.EfferentConnection_PGN.base_weight': [.0005, .001],
        # 'l4_cortex_exc.EfferentConnection_PGN.num_samples' : [50, 80],
        # 'l4_cortex_exc.EfferentConnection_PGN.weight_functions.f1.params.arborization_constant': [40, 60],
    }).run_parameter_search()

#                                                      Aff                LGN               PGN
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.rand_struct_ratio' : [0.6], 'l4_cortex_exc.L4ExcL4ExcConnection.base_weight' : [0.0006,0.0007],'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : [0.0003],'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : [0.0005,0.001], 'l4_cortex_inh.params.cell.params.v_thresh' : [-53],'retina_lgn.params.gain' : [0.9,1.3],'l4_cortex_inh.ExcInhAfferentRatio' : [1.3],'l4_cortex_exc.AfferentConnection.base_weight' : [0.0007],'retina_lgn.params.noise.stdev' : [3.5],'l4_cortex_inh.L4InhL4InhConnection.base_weight' : [0.0002,0.0003,0.0005]}).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.rand_struct_ratio' : [0.6,0.7], 'l4_cortex_exc.L4ExcL4ExcConnection.base_weight' : [0.0006,0.00063,0.00065,0.00067],'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : [0.0003],'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : [0.0005], 'l4_cortex_inh.params.cell.params.v_thresh' : [-53],'retina_lgn.params.gain' : [1.3],'l4_cortex_inh.ExcInhAfferentRatio' : [1.3],'l4_cortex_exc.AfferentConnection.base_weight' : [0.0025],'l4_cortex_exc.AfferentConnection.num_samples' : [10],'retina_lgn.params.noise.stdev' : [3.5,5.0],'l4_cortex_inh.L4InhL4InhConnection.base_weight' : [0.0002,0.00025]}).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.rand_struct_ratio' : [0.6], 'l4_cortex_exc.L4ExcL4ExcConnection.base_weight' : [0.0],'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : [0.0],'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : [0.0005,0.0004,0.0003,0.0006], 'l4_cortex_inh.params.cell.params.v_thresh' : [-53],'retina_lgn.params.gain' : [1.3],'l4_cortex_inh.ExcInhAfferentRatio' : [1.3],'l4_cortex_exc.AfferentConnection.base_weight' : [0.0025],'l4_cortex_exc.AfferentConnection.num_samples' : [10,15],'retina_lgn.params.noise.stdev' : [3.5,4.0,5.0],'l4_cortex_inh.L4InhL4InhConnection.base_weight' : [0.0]}).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.rand_struct_ratio' : [0.6,0.3], 'l4_cortex_exc.L4ExcL4ExcConnection.base_weight' : [0.0],'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : [0.0],'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : [0.0003,0.0006], 'l4_cortex_inh.params.cell.params.v_thresh' : [-53,-54],'retina_lgn.params.gain' : [1.3],'l4_cortex_inh.ExcInhAfferentRatio' : [1.0,1.2],'l4_cortex_exc.AfferentConnection.base_weight' : [0.0025,0.0015],'l4_cortex_exc.AfferentConnection.num_samples' : [10],'retina_lgn.params.noise.stdev' : [2.7,3.5],'l4_cortex_inh.L4InhL4InhConnection.base_weight' : [0.0]}).run_parameter_search()

CombinationParameterSearch(
    SlurmSequentialBackend(num_threads=1, num_mpi=16), {
        'l4_cortex_inh.L4InhL4ExcConnection.base_weight': [0.0015, 0.002],
        'l4_cortex_inh.L4InhL4ExcConnection.short_term_plasticity.tau_rec':
        [200, 100],
        'l4_cortex_exc.L4ExcL4ExcConnection.weight_functions.f1.params.sigma':
        [0.3],
        'l4_cortex_exc.L4ExcL4InhConnection.base_weight': [0.0006],
        'l4_cortex_exc.params.cell.params.tau_syn_I': [15, 17],
        'l4_cortex_exc.L4ExcL4ExcConnection.base_weight': [0.0002],
        'retina_lgn.params.gain': [1.7, 2.0, 2.5],
        'l4_cortex_inh.params.cell.params.tau_refrac': [1.0],
        'l4_cortex_exc.AfferentConnection.num_samples': [25]
    }).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.params.cell.params.tau_syn_I' : [12,13,14],'retina_lgn.params.gain' : [1.1,1.3,1.4],'retina_lgn.params.noise.stdev' : [2.7,3.0],'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : [0.001,0.0008,0.0006]}).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.L4ExcL4ExcConnection.weight_functions.f1.params.sigma': [0.4],'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : [0.0004,0.0006],'l4_cortex_exc.params.cell.params.tau_syn_I' : [15],'l4_cortex_exc.L4ExcL4ExcConnection.base_weight' : [0.0002],'retina_lgn.params.gain' : [1.1,1.3],'l4_cortex_inh.params.cell.params.tau_refrac' : [1.0,2.0],'l4_cortex_exc.AfferentConnection.num_samples' : [20,30,40]}).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.L4ExcL4ExcConnection.base_weight' : [0.0001,0.00015,0.0002,0.00025,0.0003],'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : [0.0002,0.00025,0.0003,0.00035,0.0004]}).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.params.density' : [12000],'l4_cortex_exc.rand_struct_ratio' : [0.8,0.7], 'l4_cortex_inh.ExcInhAfferentRatio' : [1.2],'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : [0.00014,0.0002,0.00025],'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : [0.0005,0.0006,0.0007]}).run_parameter_search()
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.L4ExcL4ExcConnection.base_weight' : [0.00055],'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : [0.001],'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : [0.0006], 'l4_cortex_inh.ExcInhAfferentRatio' : [1.0],'retina_lgn.params.gain' : [2.0],'l4_cortex_exc.rand_struct_ratio' : [0.6,0.8,0.95], 'l4_cortex_exc.L4ExcL4ExcConnection.weight_functions.f1.params.sigma' : [0.9],'l4_cortex_exc.params.cell.params.v_reset' : [-51],'l4_cortex_exc.params.cell.params.tau_w' : [100,200,400],'l4_cortex_exc.params.cell.params.b' : [0.4,0.6,1.0,2,4,10]}).run_parameter_search()
Example #12
0
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch, SlurmSequentialBackend
import numpy

if False:
    CombinationParameterSearch(
        SlurmSequentialBackend(num_threads=1, num_mpi=64), {
            'retina_lgn.params.gain': [0.1],
            'l4_cortex_exc.params.density': [10],
        }).run_parameter_search()

if False:
    CombinationParameterSearch(
        SlurmSequentialBackend(num_threads=1, num_mpi=64), {
            'l4_cortex_exc.AfferentConnection.base_weight': [0.0015],
            'l23_cortex_exc.L23ExcL23InhConnection.base_weight': [0.003],
            'l23_cortex_exc.L4ExcL23ExcConnection.base_weight': [0.003],
            'l23_cortex_inh.L4ExcL23InhConnection.base_weight': [0.0001],
            'l23_cortex_inh.L23InhL23ExcConnection.base_weight': [0.0025],
            'l23_cortex_inh.L23InhL23InhConnection.base_weight': [0.0017],
            'l4_cortex_exc.L4ExcL4InhConnection.base_weight': [0.0004],
            'l4_cortex_inh.L4InhL4ExcConnection.base_weight':
            [0.002, 0.0025, 0.003],
            'l4_cortex_inh.ExcInhAfferentRatio': [1.7],
            'l4_cortex_exc.params.density': [300],
            'only_afferent': [False],
            'l4_cortex_inh.L4InhL4ExcConnection.short_term_plasticity.U':
            [0.1, 0.13, 0.16],
        }).run_parameter_search()
 CombinationParameterSearch(
     SlurmSequentialBackendIoV(num_threads=45, num_mpi=1),
     {
         'sheets.l23_cortex_exc.L23ExcL4InhConnection.base_weight':
         [0.0017],
         'sheets.l4_cortex_exc.L4ExcL4InhConnection.base_weight': [0.0026],
         #									     'sheets.l4_cortex_exc.inhibitory_connection_ratio' : [0.7],
         'sheets.l4_cortex_exc.L4ExcL4ExcConnection.short_term_plasticity.tau_rec':
         [100],
         'sheets.l4_cortex_exc.params.cell.params.tau_syn_I': [1.7],
         #									     'sheets.l4_cortex_exc.K' : [1480],
         #									     'sheets.l4_cortex_exc.params.density' : [1400,2000],
         'sheets.l4_cortex_exc.params.sx': [3200, 3500],
         #									     'sheets.l23_cortex_exc.feedback_conn_ratio' : [0.13],
         #									     'sheets.l4_cortex_exc.layer23_aff_ratio' : [0.35],
         'sheets.retina_lgn.params.noise.stdev': [2.7],
         'sheets.retina_lgn.params.gain_control.gain': [30],
         #									     'sheets.l4_cortex_exc.AfferentConnection.short_term_plasticity.tau_rec' : [250],
         'sheets.l4_cortex_exc.AfferentConnection.base_weight': [0.0016],
         #				        				     'sheets.retina_lgn.params.gain_control.non_linear_gain.contrast_scaler' : [0,1,10],
         #				        				     'sheets.retina_lgn.params.gain_control.non_linear_gain.luminance_gain' : [0.0],
         #									     'sheets.l4_cortex_exc.AfferentConnection.size' : [0.15],
         #									     'sheets.l23_cortex_exc.feedback_conn_ratio' : [0.13],
         'sheets.l4_cortex_inh.ExcInhAfferentRatio': [1.1],
         #									     'sheets.l4_cortex_exc.params.cell.params.v_thresh' : [-57],
         #									     'sheets.l4_cortex_exc.params.cell.params.v_rest' : [-71],
         'sheets.l23_cortex_inh.L4ExcL23InhConnection.num_samples':
         [110, 115, 120, 125],
         'sheets.l4_cortex_exc.L4ExcL4ExcConnection.weight_functions.f1.params.sigma':
         [1.4],
         #									     'sheets.l4_cortex_exc.L4ExcL4InhConnection.weight_functions.f1.params.sigma' : [3.0],
         #									     'sheets.l23_cortex_exc.L23ExcL23ExcConnection.weight_functions.f3.params.arborization_scaler' : [1.0,4.0],
         #									     'sheets.l23_cortex_exc.L23ExcL23ExcConnection.weight_functions.f1.params.sigma' : [1.0,1.4],
         #									     'sheets.l23_cortex_inh.L4ExcL23InhConnection.weight_expression' : ["\\\'f1\\\'","\\\'f1*f2\\\'"],
         #									     'sheets.l23_cortex_exc.L23ExcL4InhConnection.weight_functions.f1.params.arborization_constant' : [100],
     }).run_parameter_search()
Example #14
0
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : numpy.linspace(0.00035,0.00055,6),'l4_cortex_exc.AfferentConnection.num_samples' : numpy.linspace(20,90,4)}).run_parameter_search()
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : numpy.linspace(0.00040,0.00045,6),'l4_cortex_exc.AfferentConnection.num_samples' : numpy.linspace(1,40,3),'l4_cortex_inh.aff_inh_gain' : numpy.linspace(1.0,1.5,5)}).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.AfferentConnection.num_samples' : numpy.linspace(10,100,10)}).run_parameter_search()

#'l4_cortex_exc.AfferentConnection.base_weight' : numpy.linspace(0.0,0.0004,2)

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : numpy.linspace(0.0007,0.0009,5),'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : numpy.linspace(0.0007,0.002,5)}).run_parameter_search()
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : numpy.linspace(0.0007,0.0011,5),'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : numpy.linspace(0.0005,0.002,5)}).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : numpy.linspace(0.0007,0.0009,2),'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : numpy.linspace(0.0015,0.002,2), 'l4_cortex_inh.ExcInhAfferentRatio' : numpy.linspace(1.8,1.2,3),'retina_lgn.params.gain' : (4.0,6.0)}).run_parameter_search()
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.L4ExcL4ExcConnection.base_weight' : numpy.linspace(0.0005,0.00045,2),'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : numpy.linspace(0.0007,0.00065,2),'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : numpy.linspace(0.0006,0.0007,2), 'l4_cortex_inh.ExcInhAfferentRatio' : numpy.linspace(1.2,1.5,2),'retina_lgn.params.gain' : (4.0,6.0,8.0)}).run_parameter_search()
CombinationParameterSearch(
    SlurmSequentialBackend(num_threads=1, num_mpi=16), {
        'l4_cortex_exc.L4ExcL4ExcConnection.base_weight': [0.00045],
        'l4_cortex_exc.L4ExcL4InhConnection.base_weight': [0.0007],
        'l4_cortex_inh.L4InhL4ExcConnection.base_weight':
        [0.0007, 0.0008, 0.0009],
        'l4_cortex_inh.ExcInhAfferentRatio': [1.0],
        'retina_lgn.params.gain': [15.0],
        'l4_cortex_exc.rand_struct_ratio': (0.5, 0.6, 0.7),
        'l4_cortex_exc.L4ExcL4ExcConnection.weight_functions.f1.params.sigma':
        (0.5, 0.7, 1.0)
    }).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : numpy.linspace(0.00042,0.00044,3),'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : numpy.linspace(0.0048,0.0058,4),'l4_cortex_exc.AfferentConnection.num_samples' : numpy.linspace(20,90,2)}).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_inh.aff_inh_gain' : numpy.linspace(1.0,2.0,5),'l4_cortex_exc.AfferentConnection.num_samples' : numpy.linspace(50,90,2),'l4_cortex_exc.rand_struct_ratio' : [0.85,0.9,0.99]}).run_parameter_search()
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_inh.aff_inh_gain' : numpy.linspace(1.0,2.0,5),'l4_cortex_exc.AfferentConnection.num_samples' : numpy.linspace(50,90,2)}).run_parameter_search()
# -*- coding: utf-8 -*-
import sys
import numpy
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch, SlurmSequentialBackend

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=4,num_mpi=1),{'l4_cortex_exc.L4ExcL4ExcConnection.weights' : numpy.linspace(0.0,0.005,20),'l4_cortex_inh.L4InhL4ExcConnection.weights' : numpy.linspace(0.0,0.05,20)}).run_parameter_search()
CombinationParameterSearch(
    SlurmSequentialBackend(num_threads=8, num_mpi=1), {
        'l4_cortex_exc.L4ExcL4ExcConnection.connection_probability':
        numpy.linspace(0.0001, 0.004, 20),
        'l4_cortex_exc.params.density':
        numpy.linspace(4000, 204000, 30)
    }).run_parameter_search()
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch,SlurmSequentialBackend
import numpy

# VogelsAbbott run
CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=2),{'exc1.Exc1Exc1Connection.weights' : numpy.linspace(0.0,0.002,20),'inh1.Inh1Exc1Connection.weights' : numpy.linspace(0.0,0.02,20)}).run_parameter_search()
Example #17
0
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch, SlurmSequentialBackend
import numpy
CombinationParameterSearch(
    SlurmSequentialBackend(num_threads=1, num_mpi=1), {
        'exc_layer.ExcExcConnection.weights': numpy.linspace(0.0, 0.006, 20),
        'inh_layer.InhExcConnection.weights': numpy.linspace(0.0, 0.06, 20)
    }).run_parameter_search()
Example #18
0
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch,SlurmSequentialBackend
import numpy
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=4,num_mpi=1),{'l4_cortex_exc.L4ExcL4ExcConnection.weights' : [0.002,0.004],'l4_cortex_inh.L4InhL4ExcConnection.weights' : [0.2,0.51]}).run_parameter_search()
CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=8),{'l4_cortex_exc.L4ExcL4ExcConnection.weights' : numpy.linspace(0.002,0.006,5),'l4_cortex_inh.L4InhL4ExcConnection.weights' : numpy.linspace(0.001,0.03,5),
'l4_cortex_exc.params.cell.params.tau_m' : [10,11,12]}).run_parameter_search()
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch, SlurmSequentialBackendUK
import numpy
import time

if True:
    CombinationParameterSearch(
        SlurmSequentialBackendUK(num_threads=32, num_mpi=1),
        {
            #'sheets.l4_cortex_exc.K' : [1000],
            'pynn_seed': [936395],
            'sheets.retina_lgn.params.noise.stdev': [1.7],
            'sheets.retina_lgn.params.gain_control.gain': [12],
            'sheets.retina_lgn.params.gain_control.non_linear_gain.luminance_gain':
            [3],
            'sheets.l4_cortex_inh.L4InhL4ExcConnection.base_weight': [0.0023],
            #'sheets.l4_cortex_exc.AfferentConnection.base_weight' : [0.0015,0.0014,0.0013,0.0012],
        }).run_parameter_search()

if False:
    CombinationParameterSearch(
        SlurmSequentialBackendUK(num_threads=16, num_mpi=1), {
            'pynn_seed': [13],
        }).run_parameter_search()

if False:
    CombinationParameterSearch(
        SlurmSequentialBackend(num_threads=1, num_mpi=64),
        {
            'sheets.l4_cortex_exc.K': [1480],
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch,SlurmSequentialBackend
import numpy
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=1),{'l4_cortex_exc.params.artificial_stimulators.background_act.params.exc_firing_rate' : numpy.linspace(0.0,5000,400)}).run_parameter_search()
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=1),{'l4_cortex_exc.params.artificial_stimulators.background_act.params.exc_firing_rate' : numpy.linspace(0.0,100000,100),'l4_cortex_exc.params.artificial_stimulators.background_act.params.exc_weight' : numpy.linspace(0.0,0.04,10),'l4_cortex_exc.params.artificial_stimulators.background_act.params.inh_weight' : numpy.linspace(0.0,0.2,10)}).run_parameter_search()


#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=1),{'l4_cortex_exc.params.artificial_stimulators.background_act.params.exc_firing_rate' : numpy.linspace(0.0,10000,400),'l4_cortex_exc.params.artificial_stimulators.background_act.params.exc_weight' : [0.0006,0.00062,0.00064,0.00066],'l4_cortex_exc.params.artificial_stimulators.background_act.params.inh_weight' : [0.0011]}).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=1),{'l4_cortex_exc.params.artificial_stimulators.background_act.params.exc_firing_rate' : numpy.linspace(0.0,500000,100),'l4_cortex_exc.params.artificial_stimulators.background_act.params.inh_firing_rate' : numpy.linspace(0.0,400000,100)}).run_parameter_search()


#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=1),{'l4_cortex_exc.params.artificial_stimulators.background_act.params.exc_firing_rate' : numpy.linspace(0.0,100000,50),'l4_cortex_exc.params.artificial_stimulators.background_act.params.inh_firing_rate' : numpy.linspace(0.0,100000,50),'l4_cortex_exc.params.artificial_stimulators.background_act.params.exc_weight' : numpy.linspace(0.0006,0.0008,10)}).run_parameter_search()



#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=1),{'l4_cortex_exc.params.artificial_stimulators.background_act.params.exc_firing_rate' : numpy.linspace(0.0,10000,30),'l4_cortex_exc.params.cell.params.tau_syn_E' : [2.5,3.0,3.5,4.0], 'l4_cortex_exc.params.cell.params.tau_syn_I':  [4.0,5.0,6.0,7.0] }).run_parameter_search()

CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=1),{'l4_cortex_exc.params.artificial_stimulators.background_act.params.exc_firing_rate' : numpy.linspace(0.0,1000,30),'l4_cortex_exc.params.cell.params.cm' : [0.1,0.05], 'l4_cortex_exc.params.cell.params.tau_m':  [5.0,10.0,20.0,30.0] }).run_parameter_search()
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch,SlurmSequentialBackend
import numpy
import time

if False:
    CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=64),{
									     'retina_lgn.params.gain' : [0.1],
									     'l4_cortex_exc.params.density' : [10],
									     }).run_parameter_search()





if False:
    CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=64),{
									     'l4_cortex_exc.AfferentConnection.base_weight' : [0.0015],
									     'l23_cortex_exc.L23ExcL23InhConnection.base_weight' : [0.003],
									     'l23_cortex_exc.L4ExcL23ExcConnection.base_weight' : [0.003],
									     'l23_cortex_inh.L4ExcL23InhConnection.base_weight' : [0.0001],
									     'l23_cortex_inh.L23InhL23ExcConnection.base_weight' : [0.0025],
									     'l23_cortex_inh.L23InhL23InhConnection.base_weight' : [0.0017],
									     'l4_cortex_exc.L4ExcL4InhConnection.base_weight' : [0.0004],
									     'l4_cortex_inh.L4InhL4ExcConnection.base_weight' : [0.002,0.0025,0.003],
									     'l4_cortex_inh.ExcInhAfferentRatio' : [1.7],
									     'l4_cortex_exc.params.density' : [300],
									     'only_afferent' : [False],
									     'l4_cortex_inh.L4InhL4ExcConnection.short_term_plasticity.U' : [0.1,0.13,0.16],
									     }).run_parameter_search()
Example #22
0
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch, SlurmSequentialBackend
import numpy

CombinationParameterSearch(
    SlurmSequentialBackend(num_threads=4, num_mpi=1), {
        'l4_cortex_exc.L4ExcL4ExcConnection.base_weight':
        numpy.linspace(0.0, 0.3, 10),
        'l4_cortex_inh.L4InhL4ExcConnection.base_weight':
        numpy.linspace(0.0, 0.3, 10)
    }).run_parameter_search()
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=4,num_mpi=1),{'l4_cortex_exc.L4ExcL4ExcConnection.base_weight' : numpy.linspace(0.0,0.3,40),'l4_cortex_exc.L4ExcL4ExcConnection.weight_functions.f1.params.push_pull_ratio' : numpy.linspace(0.5,1.0,20)}).run_parameter_search()
Example #23
0
# -*- coding: utf-8 -*-
import sys
from mozaik.meta_workflow.parameter_search import CombinationParameterSearch,SlurmSequentialBackend
import numpy
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=4,num_mpi=1),{'l4_cortex_exc.L4ExcL4ExcConnection.weights' : [0.002,0.004],'l4_cortex_inh.L4InhL4ExcConnection.weights' : [0.2,0.51]}).run_parameter_search()
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=16),{'l4_cortex_exc.L4ExcL4ExcConnection.weights' : numpy.linspace(0.0,0.006,40),'l4_cortex_inh.L4InhL4ExcConnection.weights' : numpy.linspace(0.0,0.1,40)}).run_parameter_search()

#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=8),{'l4_cortex_exc.L4ExcL4InhConnection.weights' : numpy.linspace(0.0006,0.0011,40),'l4_cortex_inh.L4InhL4ExcConnection.weights' : numpy.linspace(0.0,0.006,40)}).run_parameter_search()


#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=4),{'l4_cortex_exc.params.density' : numpy.linspace(5000,50000,10),'l4_cortex_inh.L4InhL4ExcConnection.weights' : numpy.linspace(0.0,0.1,20)}).run_parameter_search()
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=4),{'l4_cortex_exc.params.cell.params.tau_m' : numpy.linspace(5,50,10),'l4_cortex_inh.L4InhL4ExcConnection.weights' : numpy.linspace(0.0,0.1,20)}).run_parameter_search()
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=4),{'l4_cortex_exc.params.cell.params.tau_syn_E' : numpy.linspace(0.1,1.0,20),'l4_cortex_inh.L4InhL4ExcConnection.weights' : numpy.linspace(0.0,0.1,20)}).run_parameter_search()
#CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=4),{'l4_cortex_exc.L4ExcL4InhConnection.weights' : numpy.linspace(0.003,0.01,20),'l4_cortex_inh.L4InhL4ExcConnection.weights' : numpy.linspace(0.0,0.1,20)}).run_parameter_search()

CombinationParameterSearch(SlurmSequentialBackend(num_threads=1,num_mpi=32),{'l4_cortex_exc.L4ExcL4InhConnection.weights' : numpy.linspace(0.0006,0.0008,10)}).run_parameter_search()