bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Using weights files of different sizes


From: Øystein Johansen
Subject: Re: [Bug-gnubg] Using weights files of different sizes
Date: Mon, 26 Apr 2010 22:45:54 +0200


Is it possible for someone to modify gnubg to have weights files of different dimensions for contact, race and crashed nets?

I'm browsing the code, and for a different number of hidden nodes, I simply think it's possible to replace the hard coded 32's in Evaluate128() with (nn->cHidden >> 2)

The function itself could be renamed to EvaluateSSE such that it indicate any number of hidden nodes. And maybe a check that nn->cHidden is a multiple of 4.

I've not checked this, so please someone verify before committing to repository. I guess I can generate a weights file with the new neural net if someone is interested in testing it.

-Øystein


reply via email to

[Prev in Thread] Current Thread [Next in Thread]