how to calculate mdape in R

I want to use mdape() function to get median absolute percentage error in R, but it says :

could not find function "mdape"

I use Metrics library, and it works for median absolute error

1 Answer

I'm not sure if there exists mdape function in Metrics package.

I found cognitiveutils::MDAPE() and prophet::performance_metrics(df, metrics = 'mdape', rolling_window = 0.1)

Try(cognitiveutils)

install.packages("remotes")
remotes::install_github("JanaJarecki/cognitiveutils")
cognitiveutils::MDAPE()

or(prophet)

install.packages("prophet")
prophet::performance_metrics(df, metrics = 'mdape', rolling_window = 0.1)

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like