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++
468
Appendix
}
tot err - 0.0 ; // Total error will be cumulated here
for (tset-0 ; tset<tptr->ntrain ; tset++) { // Do all samples
dptr - tptr->data + size * tset ; // Point to this sample
trial ( dptr ) ; // Evaluate network for it
1f (outmod 0UTM0D AUTO) { // If this 1s AUTOASSOCIATIVE
for (1-0 ; Knout ; 1++) { // then the expected outputs
d1ff - *dptr++ - outC13 ; // are just the Inputs
tot err ·+- d1ff * d1ff ;
}
}
else 1f (outmod OUTMOD CLASSIFY) { // If this 1s Classification
tclass - (1nt) dptr[n1n] - 1 ; // class 1s stored after Inputs
for (1-0 ; Knout ; 1++) { // Recall that train added a
1f (tclass 1) // fraction so that th
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