Skip to content

Commit b185a24

Browse files
committed
correct a typo in loss function in the doc
1 parent 776d781 commit b185a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/training/lossfunctions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ This term compares predicted quantities to ground-truth data using predefined er
5757
* - ``"MEAN_SQUARE_LOG"``
5858
- :math:`\frac{1}{n} \sum_{i=1}^N \left( \log(|d_i| + 1) - \log(|\hat{d}_i| + 1) \right)^2`
5959
* - ``"VEL_LOG"``
60-
- :math:`\frac{1}{n} \sum_{i=1}^N \log(|\hat{u}_i| + \epsilon) / \log(|u_i| + \epsilon)`
60+
- :math:`\frac{1}{n} \sum_{i=1}^N \log((|\hat{u}_i| + \epsilon) / (|u_i| + \epsilon))`
6161

6262
Here, :math:`d_i` is the ground truth, :math:`\hat{d}_i` is the predicted value, and :math:`\epsilon` is a small constant to avoid divide-by-zero.
6363

0 commit comments

Comments
 (0)