Log Cosh works like the MSE, but is smoothed towards large errors (presumably caused by outliers) so that the final error score isn’t impacted thoroughly. We first define the Softplus function log(ex+1) Then , x=y^−y logcosh = mean(x+softplus(−2⋅x)−log(2.0)) …