dcf583f15d08415d4e1972d44c250a5f13f6b10c,examples/run_dsin.py,,get_xy_fd,#Any#,7

Before Change


                       SparseFeat("item_gender", 2 + 1, embedding_dim=4,use_hash=hash_flag),
                       DenseFeat("score", 1)]
    feature_columns += [VarLenSparseFeat("sess_0_item",maxlen=4,vocabulary_size=3+1,embedding_dim=4,use_hash=hash_flag,embedding_name="item"),VarLenSparseFeat("sess_0_item_gender",maxlen=4,vocabulary_size=2+1,embedding_dim=4,use_hash=hash_flag,embedding_name="item_gender")]
    feature_columns += [VarLenSparseFeat("sess_1_item", maxlen= 4,vocabulary_size=3 + 1,embedding_dim=4, use_hash=hash_flag, embedding_name="item"),VarLenSparseFeat("sess_1_item_gender", maxlen= 4,vocabulary_size=2 + 1, embedding_dim=4,use_hash=hash_flag,embedding_name="item_gender")]

    behavior_feature_list = ["item", "item_gender"]
    uid = np.array([0, 1, 2])

After Change


                       SparseFeat("item_gender", 2 + 1, embedding_dim=4,use_hash=hash_flag),
                       DenseFeat("score", 1)]
    feature_columns += [VarLenSparseFeat( SparseFeat("sess_0_item", 3 + 1, embedding_dim=4,use_hash=hash_flag,embedding_name="item"),maxlen=4),VarLenSparseFeat(SparseFeat("sess_0_item_gender", 2 + 1, embedding_dim=4,use_hash=hash_flag,embedding_name="item_gender"),maxlen=4)]
    feature_columns += [VarLenSparseFeat( SparseFeat("sess_1_item", 3 + 1, embedding_dim=4,use_hash=hash_flag,embedding_name="item"),maxlen=4),VarLenSparseFeat(SparseFeat("sess_1_item_gender", 2 + 1, embedding_dim=4,use_hash=hash_flag,embedding_name="item_gender"),maxlen=4)]

    behavior_feature_list = ["item", "item_gender"]
    uid = np.array([0, 1, 2])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: shenweichen/DeepCTR
Commit Name: dcf583f15d08415d4e1972d44c250a5f13f6b10c
Time: 2020-01-27
Author: wcshen1994@163.com
File Name: examples/run_dsin.py
Class Name:
Method Name: get_xy_fd


Project Name: shenweichen/DeepCTR
Commit Name: dcf583f15d08415d4e1972d44c250a5f13f6b10c
Time: 2020-01-27
Author: wcshen1994@163.com
File Name: tests/models/DSIN_test.py
Class Name:
Method Name: get_xy_fd


Project Name: shenweichen/DeepCTR
Commit Name: dcf583f15d08415d4e1972d44c250a5f13f6b10c
Time: 2020-01-27
Author: wcshen1994@163.com
File Name: tests/models/DIN_test.py
Class Name:
Method Name: get_xy_fd


Project Name: shenweichen/DeepCTR
Commit Name: dcf583f15d08415d4e1972d44c250a5f13f6b10c
Time: 2020-01-27
Author: wcshen1994@163.com
File Name: tests/models/DIEN_test.py
Class Name:
Method Name: get_xy_fd