Learn Before
Formula

Logarithmic Root Mean Squared Error Formula

One standard method to measure relative error in price predictions is to compute the discrepancy using the logarithm of the estimates. This mathematically translates to the Logarithmic Root Mean Squared Error (Log RMSE), which measures the root-mean-squared-error between the logarithm of the predicted price y^i\hat{y}_i and the logarithm of the actual label price yiy_i. The formal equation for a dataset of size nn is: 1ni=1n(logyilogy^i)2\sqrt{\frac{1}{n}\sum_{i=1}^n\left(\log y_i -\log \hat{y}_i\right)^2}. This metric is highly effective because a small discrepancy δ\delta where logylogy^δ|\log y - \log \hat{y}| \leq \delta directly translates into the relative ratio eδy^yeδe^{-\delta} \leq \frac{\hat{y}}{y} \leq e^\delta.

0

1

Updated 2026-05-07

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L