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
Suppose the problem is a regression problem on this data with the goal to minimize MAPE. lightgbm already supports the MAPE objective natively so that is one option. Mathematically, the MAPE objective is the MAE objective with sample weights $1/y_{true}$ so that might be another option. A third option is using the MAE objective with log-transformed target, based on the approximation
Description
It seems that the MAPE objective is not minimizing the MAPE when the target follows an exponential distribution.
Reproducible example
The following is a toy example.
Expected output:
Suppose the problem is a regression problem on this data with the goal to minimize MAPE. lightgbm already supports the MAPE objective natively so that is one option. Mathematically, the MAPE objective is the MAE objective with sample weights$1/y_{true}$ so that might be another option. A third option is using the MAE objective with log-transformed target, based on the approximation
On this dataset, the results from the 3 options are very different. Surprisingly, the 3rd option gives much lower MAPE.
Expected output:
Environment info
LightGBM version or commit hash: 4.5.0
Command(s) you used to install LightGBM
!pip install -U lightgbm
Additional Comments
The text was updated successfully, but these errors were encountered: