regressoR (version 3.0.2)

general_indices: general_indices

Description

calculates indices to measure accuracy of a model.

Usage

general_indices(real, prediccion)

Value

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

Arguments

real

the real values in traning-testing.

prediccion

the prediction values in traning-testing.

Examples

Run this code
real <- rnorm(45)
prediction <- rnorm(45)
model <- "KNN"
general_indices(real, prediction)

Run the code above in your browser using DataLab