View source: R/indices_utils.R
general_indices | R Documentation |
calculates indices to measure accuracy of a model.
general_indices(real, prediccion)
real |
the real values in traning-testing. |
prediccion |
the prediction values in traning-testing. |
a list with the Correlation, Relative Error, Mean Absolute Error and Root Mean Square Error.
real <- rnorm(45)
prediction <- rnorm(45)
model <- "KNN"
general_indices(real, prediction)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.