Skip to main content
formatting, spelling, and clarification
Source Link
Shawn Hemelstrand
  • 18.5k
  • 6
  • 35
  • 92

If you are insterestedinterested in predictions: MAPEThe :meanMAPE function in R, or mean absolute percentage error (MAPE), is a measure of prediction accuracy of a forecasting method in statistics.

install.packages("MLmetrics") library(MLmetrics) MAPE(predict(model),real_values)

install.packages("MLmetrics") 
library(MLmetrics)
MAPE(predict(model),real_values)

If you are insterested in predictions: MAPE :mean absolute percentage error (MAPE), is a measure of prediction accuracy of a forecasting method in statistics.

install.packages("MLmetrics") library(MLmetrics) MAPE(predict(model),real_values)

If you are interested in predictions: The MAPE function in R, or mean absolute percentage error (MAPE), is a measure of prediction accuracy of a forecasting method in statistics.

install.packages("MLmetrics") 
library(MLmetrics)
MAPE(predict(model),real_values)
Post Migrated Here from stackoverflow.com (revisions)
Source Link
Vinicius Soares
Vinicius Soares

If you are insterested in predictions: MAPE :mean absolute percentage error (MAPE), is a measure of prediction accuracy of a forecasting method in statistics.

install.packages("MLmetrics") library(MLmetrics) MAPE(predict(model),real_values)