Learn Before
Formula
Single Example Loss Term Formula
To evaluate the performance of a neural network on an individual data point, a loss function is applied to its predictions. Given the network's final output layer variable and the true target label , the unregularized loss term for a single example is formulated as:
This scalar value quantifies the discrepancy between the model's output and the actual ground truth for that specific data example before any complexity penalties are added.
0
1
Updated 2026-05-06
Tags
D2L
Dive into Deep Learning @ D2L