cal_rmse | R Documentation |
RMSE calculator function
cal_rmse(predicted, actual)
predicted |
predicted a numeric vector representing the values |
actual |
actual the numeric vector representing the actual values from data |
an int value indicating the RMSE
x <- seq(-10, 10, by = .1) y <- dnorm(x, mean = 2.5, sd = 0.5) cal_rmse(x,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.