general.indices {regressoR}R Documentation

general.indices

Description

calculates indices to measure accuracy of a model.

calculates indices to measure accuracy of a model.

Usage

general.indices(real, prediccion)

general.indices(real, prediccion)

Arguments

real

the real values in traning-testing.

prediccion

the prediction values in traning-testing.

Value

a list with the Correlation, Relative Error, Mean Absolute Error and Root Mean Square Error.

a list with the Correlation, Relative Error, Mean Absolute Error and Root Mean Square Error.

Examples

real <- rnorm(45)
prediction <- rnorm(45)
model <- "KNN"
general.indices(real, prediction)

real <- rnorm(45)
prediction <- rnorm(45)
model <- "KNN"
general.indices(real, prediction)


[Package regressoR version 4.0.3 Index]