Skip to main content
. 2023 Jul 25;16(15):5207. doi: 10.3390/ma16155207

Table 7.

Mathematical model of the nine loss functions used.

Name of Loss Function Abbreviation Equation
root relative squared error rrse [i=1n(xiyi)2]/[i=1n(xix˜)2]
symmetric mean absolute percent error smape 2ni=1n|xiyi||xi|+|yi|
mean absolute error mae 1ni=1n|xiyi|
mean squared error mse 1ni=1n(xiyi)2
root mean squared error rmse 1ni=1n(xiyi)2
mean squared log error msle 1ni=1n(ln(1+xi)ln(1+yi))2
relative absolute error rae [i=1n|xiyi|]/[i=1n|xix˜|]
relative squared error rse [i=1n(xiyi)2]/[i=1n(xix˜)2]
root mean squared log error rmsle 1ni=1n(ln(1+xi)ln(1+yi))2