The attached batch file, show.bat, will show how many correct bits an
ANN gets. I'm talking about the waybak problem, of course. You also
need a version of show.ini, which must have the same neuron count that
the ANN was evolved with. So, if you have a savedchrome file, renamed
to, say, someANNs.sc, just type:
show someANNs.sc . You can also type "show savedChromes" if you have
not renamed it.
Here is a sample output from the 4 neuron ANN is discussed in my
previous message:
C:\C\waybak>show 3-4s-4n-8750.sc
C:\C\waybak>copy 3-4s-4n-8750.sc SavedChromes
1 file(s) copied.
C:\C\waybak>copy waybak.ini save.ini
1 file(s) copied.
C:\C\waybak>copy show.ini waybak.ini
1 file(s) copied.
C:\C\waybak>copy show.ini showUpdates
1 file(s) copied.
C:\C\waybak>wb
waybak Version 0.1
The waybak.ini file has these values:
minSteps 3.0000
maxSteps 3.0000
popSize 21.0000
genLimit 1.0000
neurons 4.0000
updatePenalty 0.0000
verbose 1.0000
20 chromosomes imported
Run length: 2.50 min. seed is 787 There are 2 inputs, 4 neurons.
Population 21 initial population RAM 2352 chromosome size 28
countWeights() says: 28
ANN 0 correct 0 max 21 ANNupdates 445
ANN 1 correct 23 max 24 ANNupdates 58
ANN 2 correct 23 max 24 ANNupdates 58
ANN 3 correct 23 max 24 ANNupdates 58
ANN 4 correct 23 max 24 ANNupdates 59
ANN 5 correct 23 max 24 ANNupdates 59
ANN 6 correct 23 max 24 ANNupdates 59
ANN 7 correct 23 max 24 ANNupdates 59
ANN 8 correct 23 max 24 ANNupdates 59
ANN 9 correct 23 max 24 ANNupdates 59
ANN 10 correct 23 max 24 ANNupdates 59
ANN 11 correct 23 max 24 ANNupdates 59
ANN 12 correct 23 max 24 ANNupdates 60
ANN 13 correct 23 max 24 ANNupdates 60
ANN 14 correct 23 max 24 ANNupdates 60
ANN 15 correct 23 max 24 ANNupdates 60
ANN 16 correct 23 max 24 ANNupdates 60
ANN 17 correct 23 max 24 ANNupdates 60
ANN 18 correct 23 max 24 ANNupdates 60
ANN 19 correct 23 max 24 ANNupdates 60
ANN 20 correct 23 max 24 ANNupdates 60
best ANN is 1 0 gens since improve wins 0.000 to 0.9583 Histogram:
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20
After 0 seconds, gen 1 tested. mutmax is 0.700 highCount 20 in 0
mean 0.913 mode 0.941 rng 0.958 doomed 6
waybak Version 0.1 has just finished execution.
The best ANN had a fitness value of 0.9583 and chromosome size of 28.
The run lasted 0.00 minutes and covered 1 generations.
Some parameter values are:
neurons 4
popSize 21
seed 787
maxTime 2.50
stagnant 100
altDeathProb 0
mutDecline 0.99990
mutProb 0.97000
crossProb 0.9700
trigger 1.0000
mutmax declined from 0.700 to 0.700
toDieFrac changed from 0.600 to 0.630
The best fitness did not change during the run.
C:\C\waybak>del showUpdates
C:\C\waybak>copy save.ini waybak.ini
1 file(s) copied.
--
I'm proud of http://ANNEvolve.sourceforge.net. If you want to write software, or articles, or do testing or research for ANNEvolve, let me know.
minSteps 3
maxSteps 3
popSize 21
genLimit 1
neurons 4
updatePenalty 0.0
verbose 1
copy %1 SavedChromes
copy waybak.ini save.ini
copy show.ini waybak.ini
copy show.ini showUpdates
wb
del showUpdates
copy save.ini waybak.ini
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642