numeric_summary | R Documentation |
Given the observed and predicted values of numeric data computes the Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Normalized Root Mean Squared Error (NRMSE), Mean Arctangent Absolute Percentage Error (MAAPE), Mean Absolute Error (MAE), Person's correlation and R-Squared.
numeric_summary(observed, predicted, remove_na = TRUE)
observed |
( |
predicted |
( |
remove_na |
( |
A list with all metrics.
Other numeric_metrics:
maape()
,
mae()
,
mse()
,
nrmse()
,
pearson()
,
r2()
,
rmse()
,
spearman()
## Not run:
set.seed(1)
x <- rnorm(100)
numeric_summary(x, x)
numeric_summary(x, x - 1)
numeric_summary(x, x + 10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.