Giter Club home page Giter Club logo

Comments (3)

zanshuxun avatar zanshuxun commented on June 7, 2024 1

Q1:
已修复,详见61b5775
参考了dien.py中获取历史序列长度的方式,输入数据需要增加behavior_length
暂未合并至master分支,可以先参考dev-zsx分支

Q2:
(1)【部分sparse fear特征取了两次】 您是指这两次吗:

sparse_embedding_list, dense_value_list = self.input_from_feature_columns(X, self.dnn_feature_columns,
self.embedding_dict)

dnn_input_emb_list = embedding_lookup(X, self.embedding_dict, self.feature_index, self.sparse_feature_columns, mask_feat_list=self.history_feature_list, to_list=True)

第一次取出来的sparse_embedding_list在后面确实没有用到,已优化

(2)【lookup embedding中mask feature list不起作用】
embedding_lookup函数中的mask_feat_list参数是用于hash的,详见DeepCTR。目前torch版还未加入hash,所以还没有用到。

from deepctr-torch.

zanshuxun avatar zanshuxun commented on June 7, 2024

非常感谢您细致地排查问题,我们会在近期的版本中对该问题进行修复,祝好!

from deepctr-torch.

zanshuxun avatar zanshuxun commented on June 7, 2024

Hi, we have solved this issue in v0.2.4, please use pip install -U deepctr-torch to upgrade.

from deepctr-torch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.