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

EDCN应该每次传入cross_in和初始第0层的cross_in,否则不符合DCN本身数学推导 #509

Open
TangJiakai opened this issue Jan 28, 2023 · 5 comments
Labels

Comments

@TangJiakai
Copy link

Please refer to the FAQ in doc and search for the related issues before you ask the question.

Describe the question(问题描述)
A clear and concise description of what the question is.

Additional context
Add any other context about the problem here.

Operating environment(运行环境):

  • python version [e.g. 3.6]
  • tensorflow version [e.g. 1.4.0, 1.15.0, 2.10.0]
  • deepctr version [e.g. 0.9.2,]
@shuDaoNan9
Copy link

Please refer to the FAQ in doc and search for the related issues before you ask the question.

Describe the question(问题描述) A clear and concise description of what the question is.

Additional context Add any other context about the problem here.

Operating environment(运行环境):

  • python version [e.g. 3.6]
  • tensorflow version [e.g. 1.4.0, 1.15.0, 2.10.0]
  • deepctr version [e.g. 0.9.2,]

大佬可知edcn.py中为何只用了离散类别特征,而不使用数值特征么?我看之前的dcn.py是两种特征都使用的,但这里RegulationModule却只用3维embeding的类别特征输入

@shuDaoNan9
Copy link

刚刚看到论文相关部分,居然将数值特征都离散化处理了:For numerical features (e.g., bidding price, usage count), commonused approaches are discretization, including soft discretization
like AutoDis [4] and hard discretization via transforming numerical features to categorical features, such as logarithm discretization [13] and tree-based discretization [8].

@TangJiakai
Copy link
Author

TangJiakai commented Mar 16, 2023 via email

@shuDaoNan9
Copy link

连续数值离散化操作 应该还是很常见的 发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: shuDaoNan9 @.> 发送时间: 2023年3月16日 15:36 收件人: shenweichen/DeepCTR @.> 抄送: Jiakai Tang @.>, Author @.> 主题: Re: [shenweichen/DeepCTR] EDCN应该每次传入cross_in和初始第0层的cross_in,否则不符合DCN本身数学推导 (Issue #509) 刚刚看到论文相关部分,居然将数值特征都离散化处理了:For numerical features (e.g., bidding price, usage count), commonused approaches are discretization, including soft discretization like AutoDis [4] and hard discretization via transforming numerical features to categorical features, such as logarithm discretization [13] and tree-based discretization [8]. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

之前deepctr中的模型基本都是直接用归一化的数值特征,这里突然开始做离散化了,一开始没理解就只能去翻论文了,开始还想偷懒懒得看论文来着o(╯□╰)o

@TangJiakai
Copy link
Author

TangJiakai commented Mar 16, 2023 via email

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

No branches or pull requests

2 participants