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++
Multilayer Feedforward Networks
99
for (i=0 ; i<nout ; i++) {
delta = (targetsp] - outputs[i]) * actderiv ( outputs[i] ) ;
deltas[i] = delta ;
gradptr = grad[i] ;
for (j=0
;
j<nprev
;
j++)
gradptrQ] += delta * prevactp] ;
gradptr[nprev] += delta ; // Bias activation is always 1
}
}
The delta for each output neuron is computed and saved (as gradient
computation for hidden layers will need it). Then the partial deriva-
tive for each of the nprev weights connecting the previous layer to this
neuron are computed and summed into the epoch total. Finally, the
partial derivative for the bias weight is found. Recall that the bias
comes from a hypothetica ...
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