Prediction error is the difference between actual values and predicted values. Reducing this discrepancy improves accuracy and guides model optimization. section 8.2.6 section 8.3.4
Error supports several training decisions:
- Use the loss score derived from predictions and actual values as feedback for adjusting weights. section 8.3.4
- Reduce error with gradient descent, which moves iteratively toward a function's global minimum. section 8.2.6
- Choose batch, stochastic, or mini-batch updates according to dataset size, speed, accuracy, and batch-size tuning needs. section 8.2.6
Training feedback
After a network generates predictions, compare them with the actual values to calculate prediction error. Convert that result into a loss score, then use backpropagation to adjust the weights and lower future error. section 8.3.4
Figure 8.8 The concept of gradient descent. It is the mechanism to minimize the loss function.
Use the gradient-descent figure to visualize how iterative updates move toward the minimum of the loss function. section 8.2.6
