Last chance! 50% off unlimited learning
Sale ends in
calculates indices to measure accuracy of a model.
general_indices(real, prediccion)
the real values in traning-testing.
the prediction values in traning-testing.
a list with the Correlation, Relative Error, Mean Absolute Error and Root Mean Square Error.
# NOT RUN {
real <- rnorm(45)
prediction <- rnorm(45)
model <- "KNN"
general_indices(real, prediction)
# }
Run the code above in your browser using DataLab