Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!sunybcs!boulder!mathis From: mathis@boulder.Colorado.EDU (Don Mathis) Newsgroups: comp.ai.neural-nets Subject: Football net: How to implement. Message-ID: <13715@boulder.Colorado.EDU> Date: 10 Nov 89 06:09:25 GMT Sender: news@boulder.Colorado.EDU Reply-To: mathis@boulder.Colorado.EDU (Don Mathis) Organization: University of Colorado, Boulder Lines: 25 For those of you who wanted source code: Believe me - you DON'T want my source code!! Here's how you can code it up yourself - it's really easy: *There is one unit per team. *The units are fully connected, and the connections are symmetric. *The weight between unit i and unit j is equal to the number of times team i has played team j this year. *The connection from unit i to itself is equal to MINUS the number of games team i has played this year. *The external input to unit i is equal to the total PF-PA for team i over the current season. (That's points_for minus points_against - it's a constant). The activations are updated as follows: * Start all activations at 0.0 Loop until differences between activations converge: * For each unit, i, Input(i)=SUMj(Wij*ACT(j))+ext(i). (This is the normal net input rule.) * The new ACT(i)=ACT(i)+c*Input(i). c<1. (I used c=.1) That's it! -Don