powered by
Compute the root mean squared logarithmic error regression loss.
RMSLE(y_pred, y_true)
Root Mean Squared Logarithmic Error Loss
Estimated target values vector
Ground truth (correct) target values vector
data(cars) reg <- lm(log(dist) ~ log(speed), data = cars) RMSLE(y_pred = exp(reg$fitted.values), y_true = cars$dist)
Run the code above in your browser using DataLab