naria-dev-ml  

Nariaapp-121002 source code available

Olivier Reisch
Sat, 12 Oct 2002 02:25:10 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all,

I've been working a lot on the library code this week and have been able to 
fix a lot of nasty bugs found in the first version of the source code I 
released.

Fixing those bugs called for concessions regarding global network speed, but 
with a 6 neuron test app, there's no difference anyone could notice. On the 
other hand, playing with the settings, the network is trained at step 200 now 
instead of step 600 for the first version, which is a nice speedup. (You will 
notice that the visual feedback will only declare it as trained at step 300, 
due to the fact that the test app requires 100 steps of correct input before 
it tells the network to stop learning).

Here's a brief changelog:

* 12 Oct 2002: nariaapp-121002

+ narialib
- - put all globals into new narialib.h
- - renamed former narialib.h into naria.h
- - repaired log facility
- - network can stop learning now
- - added function to get current timestep
- - put libtool version to 0:0:0 till initial narialib release
- - full API change, all library function names start with naria_ now
- - some functions have changed arguments/return values, see naria.h
- - fixed a lot of bugs

+ nariaapp
- - played some with the network settings
- - added custom SDL_gfx header to avoid compile errors
- - added SDL and SDL_gfx check to ./configure
- - added some text output to the SDL window (Like current network cycle)
- - make the network stop learning once it's trained
- - use random input once trained
- - slow network down a lot once trained, so we can watch better
- - make the app take full logs into naria.log


Among the important changes you'll notice the full API change. I renamed all 
the function names to avoid possible conflicts with other libraries, as my 
function names have not really been that generic before.

Also it is now possible to record full logs of every step, which is a major 
improvement for analysing what the network does. Also, the file to include is 
no longer narialib.h but naria.h which gets installed into /usr/include by 
default, so you can include it by doing a simple #include <naria.h> in your 
own code.

The ./configure script has also been improved to check for correct SDL and 
SDL_gfx library installs to avoid the compilation problems which many have 
not been able to decipher. (RTFM!!) Fixed also the other major compilation 
problem due to conflicting SDL and SDL_gfx headers.

On the test app end, I included some text feedback to show what cycle we are 
currently processing. Also, once the network is trained, the network steps at 
a 1/4 second interval instead of "full" speed to permit a better visual 
appreciation of what happens. (I know, it's not THAT spectacular ;)

Anyway, I hope you will all have fun with the new code.

Greetings,
Olivier Reisch

- -- 
________________________________________________
Olivier Reisch                      [EMAIL PROTECTED]
N.A.R.I.A. Project Leader
For safe mail, get my PGP Key:
http://perso.wanadoo.fr/olivier.reisch/oreisch_public_key.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9p+pcXrXcgVpifr0RAk8zAJ4y9G68lEZ0RW/2ZsqnTa+ItM4E3wCgtCic
GKema1j9+79q/4fuSVgPLEM=
=8+CM
-----END PGP SIGNATURE-----

_________________________
N.A.R.I.A. Mailing List
http://naria.karasuma.net

To unsubscribe, go to http://naria.karasuma.net/ml.html
  • Nariaapp-121002 source code available Olivier Reisch