scikit-learn: How to calculate root-mean-square error (RMSE) in percentage?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Techno Intrigue Looping
--
Chapters
00:00 Question
02:39 Accepted answer (Score 6)
03:04 Thank you
--
Full question
https://stackoverflow.com/questions/4517...
Question links:
[https://drive.google.com/open?id=0B2Iv8d...]: https://drive.google.com/open?i
[single value]: http://scikit-learn.org/dev/modules/gene...
Accepted answer links:
[This]: https://stackoverflow.com/a/42251083/588...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #python3x #pandas #scikitlearn #randomforest
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Techno Intrigue Looping
--
Chapters
00:00 Question
02:39 Accepted answer (Score 6)
03:04 Thank you
--
Full question
https://stackoverflow.com/questions/4517...
Question links:
[https://drive.google.com/open?id=0B2Iv8d...]: https://drive.google.com/open?i
[single value]: http://scikit-learn.org/dev/modules/gene...
Accepted answer links:
[This]: https://stackoverflow.com/a/42251083/588...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #python3x #pandas #scikitlearn #randomforest
#avk47
ACCEPTED ANSWER
Score 6
Your implementation of calculate_mape is not working because you are expecting the check_arrays function, which was removed in sklearn 0.16. check_array is not what you want.
This StackOverflow answer gives a working implementation.