[nengo-user] normalized average of a variable x over n ensembles of neurons
Peer Ueberholz
peer at ueberholz.de
Mon Feb 8 18:49:37 EST 2016
Hi
I want to compute a normalized average of a variable x over n ensembles of neurons
\bar{x} = \sum_i^n a_i x_i / \sum_1^n a_i
where a_i is the activity of each ensemble, \sum_1^n a_i the sum over the activities of the n ensembles and x_i the value of a variable x assigned to ensemble i.
To implement the sum is possible, although not entirely straightforward. However, the division seems to represent a more serious problem. A possible solution that I've tried is to avoid division is to use logarithms, but this doesn't appear to help much either. Does anyone know a simple method to compute this quantity in Nengo?
Thanks,
Peer
More information about the nengo-user
mailing list