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

请问滑动时间窗口中有特殊节假日如何处理 #1

Open
176coding opened this issue Feb 11, 2017 · 1 comment
Open

请问滑动时间窗口中有特殊节假日如何处理 #1

176coding opened this issue Feb 11, 2017 · 1 comment

Comments

@176coding
Copy link

你好,请教个问题:
你提到: 统计该窗口前1/2/3/5/7/9/11/14天的各种非类目特征的sum和avg,统计item_id在最近14天的非聚划算支付件数最大值、最小值、标准差,统计其他类目id在最近14天的非聚划算支付件数的sum,avg,std

如果在某个窗口中,有特殊节假日,比如国庆,而国庆的销量特别高,比如:
窗口前14天是10月1号,而把10月1号的数据直接拿来做特征,会导致这个特征值很高,
请问如何处理这种情况呢,谢谢。

@wepe
Copy link
Owner

wepe commented Feb 11, 2017

取决于你预测的目标变量与节假日销量有没有相关性。你可以实验对比一下丢弃该特征前后的模型效果,如果加入该特征后效果变差,就丢弃吧

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