You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Not Multiplying by 100 in Mean Absolute Percentage Error #23408
As I was looking into the implementation of mean_absolute_percentate_error, I found that the implementation is missing multiplication by 100 to convert it into a percentage.
It came as a surprise to me. "Percentage" in function name can cause confusion. Could you let me know the reasoning behind having such behaviour of the function?
Activity
glemaitre commentedon May 18, 2022
It was done on purpose and documented in the API documentation:
ShivKJ commentedon May 19, 2022
It came as a surprise to me. "Percentage" in function name can cause confusion. Could you let me know the reasoning behind having such behaviour of the function?
glemaitre commentedon May 19, 2022
You can refer to the original PR where it was debated: #15007 (comment)
I think the reason is that we stick to the Wikipedia definition.
ShivKJ commentedon May 19, 2022
In the wiki definition, they have used multiplication by 100. Please check.
glemaitre commentedon May 19, 2022
It is multiplied by 100% and not 100:
Bouncner commentedon Aug 28, 2024