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

Practical Neural Network Recipies in C++

by Masters
June 2014
Intermediate to advanced content levelIntermediate to advanced
493 pages
20h 30m
English
Morgan Kaufmann
Content preview from Practical Neural Network Recipies in C++
Eluding Local
Mìnima II
157
di = (int) vars[9] ;
d2 = 0.1 * (((int) (100. * fabs(vars[10])) % 10)) ;
d3 = 0.01 * (((int) (100. * fabs(vars[11])) % 10)) ;
d = d1 +d2 + d3-1.0;
This function uses the first variable for the one's digit and sign
of the first parameter. The second variable is the tenth's digit, and the
third is the hundredth's. The next three variables determine the
second parameter, et cetera. Especially for small-to-moderate
populations, it will be seen that this function is minimized more easily
than the first function.
In case the reader uses this crude technique to minimize
another function, note that the factor of 100 was
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

Neural Networks with Keras Cookbook

Neural Networks with Keras Cookbook

V Kishore Ayyadevara
Scientific Computing with Python 3

Scientific Computing with Python 3

Claus Führer, Claus Fuhrer, Jan Erik Solem, Olivier Verdier
Mastering Java Machine Learning

Mastering Java Machine Learning

Uday Kamath, Krishna Choppella

Publisher Resources

ISBN: 9780080514338