dcf583f15d08415d4e1972d44c250a5f13f6b10c,tests/models/DIN_test.py,,get_xy_fd,#Any#,9

Before Change



    feature_columns = [SparseFeat("user",3),SparseFeat(
        "gender", 2), SparseFeat("item", 3 + 1), SparseFeat("item_gender", 2 + 1),DenseFeat("score", 1)]
    feature_columns += [VarLenSparseFeat("hist_item", maxlen=4, vocabulary_size=3+1, embedding_name="item"),
                        VarLenSparseFeat("hist_item_gender", maxlen=4,vocabulary_size=3+1, embedding_name="item_gender")]

    behavior_feature_list = ["item", "item_gender"]

After Change



    feature_columns = [SparseFeat("user",3),SparseFeat(
        "gender", 2), SparseFeat("item", 3 + 1), SparseFeat("item_gender", 2 + 1),DenseFeat("score", 1)]
    feature_columns += [VarLenSparseFeat(SparseFeat("hist_item", vocabulary_size=3 + 1,embedding_dim=8,embedding_name="item"), maxlen=4),
                        VarLenSparseFeat(SparseFeat("hist_item_gender", 2 + 1,embedding_dim=4, embedding_name="item_gender"), maxlen=4)]

    behavior_feature_list = ["item", "item_gender"]
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: 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/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: 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/DIEN_test.py
Class Name:
Method Name: get_xy_fd