Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!wuarchive!uunet!mcsun!ukc!tcdcs!maths.tcd.ie!tom From: tom@maths.tcd.ie (Thomas Murphy) Newsgroups: comp.ai.neural-nets Subject: Back Propagation problem..help needed. Message-ID: <1991Feb20.135431.27119@maths.tcd.ie> Date: 20 Feb 91 13:54:31 GMT Sender: tom@maths.tcd.ie (Thomas Murphy) Organization: Dept. of Maths, Trinity College, Dublin, Ireland. Lines: 66 I have to write a NN to play tic-tac-toe , and I'm having problems.... I'm using a simple(?) back propagation algorithm and I hope to supervise it's learning stage. I know that this is proably easy to most of you out their but I'm just started on NNs and I'm not doing so well..8-) ok this is the system I'm using in simple detail. A B 0--[]----\ /---[]----0 0--[]-----*----[]----0 <--- one of nine output nodes 0--[]----/^\---[]----0 0 | ^ 0 | \________one set of nine weights (three sets on either side) 0 \_ one of 0 three hidden 0 nodes 0 ^ | \__ Nine input nodes inputs are [-1, 0 1] , the value of the nodes = sum of (input*weight), for each hidden node. there are two groups, of three sets, of nine weights, marked A, B on diagram, however only one set from each group is shown here. The net is totally interconnected. At the moment I am updating the B set of weights as follows:: newweight=oldweight + (frac)*(error) where error is the error between the value the output node gave and what it should have given, and frac is the fraction assigned to speed of learning. I'm having trouble adjusting the set A of weights and I can't find an algorithm that makes any sense to do it. Also, do I need thresholds , so far I have ignored them but are they important. Some of the algorithms I've come across suggest that the update for weights should be :- newweight= oldweight + (frac)*(error)*input-from-node but this makes no sense to me. A suggestion for finding the error of the hidden node was error = (input)(1-input)(desired-output) Help!!! I'm begining to regret ever taking on this project. Tom. ps: I've just reread this file and it's not really very clear so if you have any problems please mail me here with them and I'll try to clarify them. I'll reply to all mail I get if you so desire. All mail gratefully recieved.