Kaggle icon indicating copy to clipboard operation
Kaggle copied to clipboard

Why multiplied offset(0.5) in the beginning?

Open nce3xin opened this issue 6 years ago • 1 comments

Thanks for your sharing, but when I read the code, I saw a variable called offset has been defined, then all values in the input dataframe are multiplied by offset(0.5). I would be grateful if you can explain it a little.

nce3xin avatar Jan 24 '19 09:01 nce3xin

Because this leads to better results. I am approximating SMAPE metric with a log transform of the target, and using that offset was better.

jfpuget avatar Jan 25 '19 03:01 jfpuget