Open jackbackes opened 8 years ago
If PerceptronTwo
projects connections to PerceptronThree
and PerceptronOne
projects connections to PerceptronTwo
, then just:
PerceptronThree.propagate(0.1, [1,0])
PerceptronTwo.propagate(0.1)
PerceptronOne.propagate(0.1)
Also, the line PerceptronThree.activate(result1)
should be PerceptronThree.activate(result2)
if your topology is:
[0,1] -> PerceptronOne -> PerceptronTwo -> PerceptronThree -> [1,0]
Otherwise it is more like:
[0,1] -> PerceptronOne -> PerceptronTwo -> PerceptronThree -> [1,0]
|_________________________^
Which is a valid topology, but is not what you show in the diagram on your comment
ok, cool. I will try this and let you know.
Let's say I have a network structure like this:
[0,1] -> PerceptronOne -> PerceptronTwo -> PerceptronThree -> [1,0]
( I'm using "->" shorthand for network.project(otherNetwork) )
if I call:
how do I get this to propagate all the way back through the network, not just PerceptronThree? Would I also call propagate on PerceptronTwo and PerceptronOne with [1,0] ?