Chapter 9
The Not-So-Scary Math That Powers Neural Networks
IN THIS CHAPTER
Selecting error and activation functions
Exploring error spaces with the gradient descent algorithm
Breaking down the backpropagation algorithm
Updating neural network parameters while learning
Under the hood, neural networks are a lot of math. At every stage, you’re transforming data into outputs, outputs into error, and error into model parameter changes. The individual calculations to do all of this processing aren’t very complex, but repeating these over many neurons can be a little hard to comprehend. Getting more comfortable with the equations that power these models helps you understand why these techniques are so effective.
In this chapter, you explore how to train a neural network to get the best possible performance. You first break down different error and activation function choices and discover how they affect the network’s performance. You learn what an error space is and how to walk around it efficiently with the gradient descent algorithm. You break down the backpropagation algorithm — the ...
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.
Read now
Unlock full access