can't calculate MAE percentage when there is a 0 in the target column

Please help me with this issue.


Try to replace 0 with a value near 0 like 0.00000000001


@andrejz thanks for clarification , but how can i replace after getting the predictor data

Please given any approach


After Predictor node use Rule engine node

$YourColumnName$ = 0 => 0.0000001
TRUE => $YourColumnName$


just to clarify, the error is not about MAE (Mean Absolute Error), which is still usable with 0 target values, but about MAPE (Mean Absolute Percentage Error). The question ist, if MAPE is the right metric with 0 targets…

Best regards,


1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.