Skip to Content
Practical Neural Network Recipies in C++
book

Practical Neural Network Recipies in C++

by Masters
June 2014
Intermediate to advanced
493 pages
20h 30m
English
Morgan Kaufmann
Content preview from Practical Neural Network Recipies in C++
448
Appendix
minfitness -
l.e30
;
for
(
indi v1dual-0 ; indi viduaKpopsI ze ; indi v1dual++) {
fitnessCind1v1dual] - fit - exp ( fltfac * errors[1nd1vldualD ) ;
avgfitness -H- fit ;
if (fit > maxfitness)
maxfitness - fit ;
1f (fit < minfitness)
minfitness - fit ;
}
avgfitness /- (double) popslze ;
ftemp - maxfitness - avgfitness ;
1f (ftemp > l.e-20) { // Insurance: average may equal max!
tmult - (favor best - 1.0) * avgfitness / ftemp ;
tconst - avgfitness * (maxfitness - favor best * avgfitness) / ftemp ;
el
se {
tmult - 1.0 ;
tconst - 0.0 ;
}
1f (tmult * minfitness + tconst < 0.0) { // Do not allow negative fitness
ftemp - avgfitness - minfitnes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Data Clustering in C++

Data Clustering in C++

Guojun Gan
Wireless Network Simulation: A Guide using Ad Hoc Networks and the ns-3 Simulator

Wireless Network Simulation: A Guide using Ad Hoc Networks and the ns-3 Simulator

Henry Zárate Ceballos, Jorge Ernesto Parra Amaris, Hernan Jiménez Jiménez, Diego Alexis Romero Rincón, Oscar Agudelo Rojas, Jorge Eduardo Ortiz Triviño

Publisher Resources

ISBN: 9780080514338