Hello, its my first message here (usually I ask things in the chat room).

I'm building a network following the example at
nupic/examples/network/network_api_demo.py

Its pretty simple. Basically the same as the example, but I use 10 inputs
(the example uses only one).

We can imagine my topology as being 1-layer / 1-node:

layer-1 => 1 x [sensor + SPRegion + TPRegion]

I connect the sensor to the SPRegion, and the SPRegion to the TPRegion
(exactly like in the example). (using network.link method)

Simplified code: https://gist.github.com/ricardokrieg/f5c24051f8ad6f03837a

Well, what I'm trying to create is a topology like this:

layer-1 => 10 x [sensor + SPRegion + TPRegion]
layer-2 => 1 x [SPRegion + TPRegion]

I'm not sure if I need a sensor in the upper layers.
The layer-1 I get to work, I want to connec themt to the upper layer.
Something like this:

network.link('SPregion_1_1', 'TPRegion_2', 'UniformLink', '', ...)
network.link('SPregion_1_2', 'TPRegion_2', 'UniformLink', '', ...)
network.link('SPregion_1_3', 'TPRegion_2', 'UniformLink', '', ...)
... # repeat for 10 nodes in layer-1

Makes sense?

-- 

Ricardo Franco Andrade

*Web Developer*

email: [email protected]
skype: ricardo.krieg
phone: +55 (86) 9569 8521
linkedin: http://br.linkedin.com/in/ricardokrieg/
github: https://github.com/ricardokrieg

Reply via email to