Hi,
At the end of this notebook I computed mean_absolute_percentage_error with the predicted values obtained with the modified model. It decreases from 13.58% with original model to 9.92 % with the transformed model
Then I made the same comparison with Hist GradientBoostingRegressor and the value decreased form 9.77% with original model to 9.57% with modified model (respectivly 9.88% and 9.41% with sample_weight = 1 / target_train)
Is there some theoretical reason for this trend (i.e. reduction of mean_absolute_percentage_error) when transforming the target data ?
I understand this is probably a question beyond the scope of this mooc but it is not usual for me to get access to such a skilled team
thanks