예제 #1
0
 def neuronal_turnover_helper_dg_ca3(self, row_index):
     # DG neuron connections are rewired.
     # for every neuron in dg, rewire its weights to all neurons of ca3
     weights_row_connection_rate_factor = Tools.binomial_f(1, self.dims[3], self.MF)
     # multiply with random weights:
     # weights_vector = uniform_f(1, self.dims[3]) * weights_row_connection_rate_factor
     weights_vector = Tools.random_f(1, self.dims[3]) * weights_row_connection_rate_factor
     self.update_dg_ca3_weights_row(row_index, weights_vector[0])
예제 #2
0
 def neuronal_turnover_helper_ec_dg(self, column_index):
     # DG neuron connections are rewired.
     # for every neuron in ec, rewire its weights to this neuron - that means ONE row in the weights matrix!
     weights_row_connection_rate_factor = Tools.binomial_f(1, self.dims[1], self.PP)
     # multiply with random weights:
     # weights_vector = uniform_f(1, self.dims[1]) * weights_row_connection_rate_factor
     weights_vector = Tools.random_f(1, self.dims[1]) * weights_row_connection_rate_factor
     self.update_ec_dg_weights_column(column_index, weights_vector[0])