Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Nerual Networks: Feed Forward Nets

Name: !id/tRanCE. 2010-10-12 22:19

I've got a problem with a network I'm trying to make and I'm sure the answer is blindingly obvious but I can't see it.

If you have done this before or even have an example that explains what I'm doing wrong, that would be great.

The problem is with training it i think...

Here is the network so far:

1     4     7
2     5     8
3     6     9

Nodes 1,2 & 3 are the input nodes, 4,5 & 6 are the hidden nodes and 7,8 & 9 are the output nodes. All the input nodes are linked by weights to all the hidden nodes and all the hidden nodes are linked to all the output nodes by weights.

So let's say i set the inputs to 0.75,0.1,0.1 and the desired outputs to 1,0,0. i can forward propagate and then backward propagate a bunch of times and the network will work properly.

But i want it to do this; if the inputs are 0.75,0.1,0.1 then the outputs should be 1,0,0. If the inputs are 0.1,0.75,0.1 then the outputs should be 0,1,0. If the inputs are 0.1,0.75,0.1 then the outputs should be 0.1,0.1,0.75.

What i've been doing to try and get this working is this:

loop(1000 times)
{
     set the inputs to 0.75,0.1,0.1;
     set the desired outputs to 1,0,0;
     forward propagate;
     backward propagate;
    
     set the inputs to 0.1,0.75,0.1;
     set the desired outputs to 0,1,0;
     forward propagate;
     backward propagate;

     set the inputs to 0.1,0.1,0.75;
     set the desired outputs to 0,0,1;
     forward propagate;
     backward propagate;
}

but all that happens is regardless of the inputs i put in, the outputs don't come close to what i want, they usually sit around 0.2,0.2,0.2.

i can get it working fine with only one output, but if i have more than one output and try to train the network to do two different things the whole thing breaks down.

Please help...

Name: Anonymous 2010-10-13 5:13

>>11
Only faggots sage all the time. If a thread is relevant, it should be bumped.

Also, I bump because my posts are like mana from heaven, and I must ensure that they are seen by the plebians.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List