concept optimizer in category R

appears as: optimizer, optimizers, The optimizer, optimizer, n optimizer
Deep Learning with R

This is an excerpt from Manning's book Deep Learning with R.

The fundamental trick in deep learning is to use this score as a feedback signal to adjust the value of the weights a little, in a direction that will lower the loss score for the current example (see figure 1.9). This adjustment is the job of the optimizer, which implements what’s called the Backpropagation algorithm: the central algorithm in deep learning. The next chapter explains in more detail how backpropagation works.

In this chapter, we’ll take a closer look at the core components of neural networks that we introduced in chapter 2: layers, networks, objective functions, and optimizers.

  • The optimizer, which determines how learning proceeds
  • You can visualize their interaction as illustrated in figure 3.1: the network, composed of layers that are chained together, maps the input data to predictions. The loss function then compares these predictions to the targets, producing a loss value: a measure of how well the network’s predictions match what was expected. The optimizer uses this loss value to update the network’s weights.

    Let’s take a closer look at layers, networks, loss functions, and optimizers.

    Figure 3.1. Relationship between the network, layers, loss function, and optimizer
  • Optimizer—Determines how the network will be updated based on the loss function. It implements a specific variant of stochastic gradient descent (SGD).