# (C) 2002 Jasper Bedaux, ITFA, University of Amsterdam
# http://www.bedaux.net/jasper/
# parameter file for neural network simulations
# names are case sensitive
# name and value are separated by one or more spaces
# first value is starting value, second value (if specified) is ending value
# the value is increased/decreased in ndata steps from start to end

################## program parameters

ndata 20 # number of data points to measure
nmean 150 10 # calculate means with nmean measurements

# if second value is "int" xvalue is printed as integer
xvalue nio int # print this parameter on the x-axis

randomIO 1 # random input patterns, if 1, if 0 read from file
patternfile patterns.txt # file to read input-output patterns from if randomIO is 0
# with randomIO set to 0, ni, no, nai, nao, nio are extracted from read patterns
# instead of read from this file
extremal 0 # set to 1 for extremal dynamics

nequilibrium 10000 # number of random patterns to wait for equilibrium

# max number of trials; if reached, learning fails
nmaxsearch 1000000 # max number of trials to search for correct output pattern
nmaxcycles 1000000 # max number of learning cycles to learn all patterns

################## network parameters

ni 10 # number of input neurons
nh 2000 # number of neurons in each hidden layer
no 10 # number of output neurons

nio 1 20 # number of input-output relations to learn

nai 2 # number of active neurons in input
nah 50 # number of active neurons in each hidden layer
nao 2 # number of active neurons in output

thetah 1.0 # hidden neurons threshold potential
thetao 0.0 # output neurons threshold potential

ph 1.0 # connection chance from input to hidden
po 1.0 # connection chance from hidden to output

################## learning rule parameters

eta 0.03 # learning rate
kappa 1.0 # margin parameter
rho 0.01 # punishment rate
delta 0.1 # max fraction to add/subtract at random during deinforcement