Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why multiplied offset(0.5) in the beginning? #4

Open
nce3xin opened this issue Jan 24, 2019 · 1 comment
Open

Why multiplied offset(0.5) in the beginning? #4

nce3xin opened this issue Jan 24, 2019 · 1 comment

Comments

@nce3xin
Copy link

nce3xin commented Jan 24, 2019

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.

@jfpuget
Copy link
Owner

jfpuget commented Jan 25, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants