Formula

Regularized Loss Objective Function

The ultimate target for optimization during neural network training is the objective function, denoted as JJ. This function combines the network's predictive error with a complexity penalty. For a given data example, it is the sum of the unregularized loss term LL and the 2\ell_2 regularization term ss:

J=L+sJ = L + s

Minimizing this regularized objective function balances fitting the training data accurately while maintaining small parameter weights to improve overall generalization.

0

1

Updated 2026-05-06

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L