[nengo-user] Adjusting topological connections
Omar Zahra
omar.zahra at ejust.edu.eg
Mon Aug 8 12:00:48 EDT 2016
Hello Terry,
Thanks for your reply. I already used this to make a connection.
My problem is that I cannot " nengo.Connection(a.neurons, b.neurons,
transform=matrix, function = func)" because it must be applied to an
Ensemble.
I hope you have some solution for this problem.
On Mon, Aug 8, 2016 at 5:47 PM, Terry Stewart <terry.stewart at gmail.com>
wrote:
> Hello Omar,
>
> If you want to use Nengo to do manual neuron-to-neuron connection
> (i.e. the sort of thing that would happen in a standard neural
> simulator), then you need to connection to the ens.neurons object.
> For example, here's a quick way to do random connections between two
> groups of neurons:
>
> --------------
> import nengo
> import numpy as np
>
> model = nengo.Network()
> with model:
> a = nengo.Ensemble(n_neurons=50, dimensions=1)
> b = nengo.Ensemble(n_neurons=50, dimensions=1)
>
> matrix = np.random.normal(size=(50, 50))
> nengo.Connection(a.neurons, b.neurons, transform=matrix)
> -------------------------
>
> Let us know if that helps for your situations!
>
> Also, for future questions, we've just started up an online forum at
> https://forum.nengo.ai/
>
> Terry
>
> On Mon, Aug 8, 2016 at 9:13 AM, Omar Zahra <omar.zahra at ejust.edu.eg>
> wrote:
> > Hello,
> >
> > I am new to NENGO and also just started using python to deal with NENGO.
> I
> > would like to build part of the brain by connecting some layers. These
> > connections are supposed to be topological. I would like also to apply
> some
> > function across these connections. When I try to use connection to the
> whole
> > ensemble, I cannot define the connections perfectly as done in case of
> > making connections neuron by neuron -using Ensemble.neurons[] -. I tried
> > even increasing the dimensions of the ensemble and setting the encoders
> such
> > as to give seperate action for each neuron, still some unintended
> response
> > appears.
> > Reply ASAP please. Thanks in advance
> >
> > --
> > Best Regards
> > Omar Ibn ElKhatab AbdAllah Zahra
> >
> > _______________________________________________
> > nengo-user mailing list
> > nengo-user at ctnsrv.uwaterloo.ca
> > http://ctnsrv.uwaterloo.ca/mailman/listinfo/nengo-user
> >
>
--
Best Regards
Omar Ibn ElKhatab AbdAllah Zahra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://artsservices.uwaterloo.ca/pipermail/nengo-user/attachments/20160808/1ae1d283/attachment-0002.html>
More information about the nengo-user
mailing list