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
In my opinion it should be calculated by doing estimate - truth instead of truth - estimate. See below, the estimator clearly over-estimates the observations, yet a negative bias is calculated. Is this running as expected ?
Hello,
I'm not sure the implementation of Mean Percentage Error is correct there:
yardstick/R/num-mpe.R
Line 113 in 8d41dc5
In my opinion it should be calculated by doing
estimate - truth
instead oftruth - estimate
. See below, the estimator clearly over-estimates the observations, yet a negative bias is calculated. Is this running as expected ?In addition, I would divide the results with
abs(truth)
instead oftruth
to preserve the sign of the difference if the actual value is negative.Thanks in advance.
Félicien
The text was updated successfully, but these errors were encountered: