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

Before Change


                    "sess_0_item": sess1_iid, "sess_0_item_gender": sess1_igender, "score": score,
                    "sess_1_item": sess2_iid, "sess_1_item_gender": sess2_igender, }

    fixlen_feature_names = get_fixlen_feature_names(feature_columns)
    varlen_feature_names = get_varlen_feature_names(feature_columns)
    x = [feature_dict[name] for name in fixlen_feature_names] + [feature_dict[name] for name in varlen_feature_names]


    x += [sess_number]

After Change


                    "sess_0_item": sess1_iid, "sess_0_item_gender": sess1_igender, "score": score,
                    "sess_1_item": sess2_iid, "sess_1_item_gender": sess2_igender, }

    x = {name:feature_dict[name] for name in get_feature_names(feature_columns)}
    x["sess_length"] = sess_number
    y = [1, 0, 1]
    return x, y, feature_columns, behavior_feature_list

if __name__ == "__main__":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: shenweichen/DeepCTR
Commit Name: db63fc682084097bb345e2cbbbc94f73042e8ec6
Time: 2019-10-03
Author: wcshen1994@163.com
File Name: examples/run_dsin.py
Class Name:
Method Name: get_xy_fd


Project Name: shenweichen/DeepCTR
Commit Name: db63fc682084097bb345e2cbbbc94f73042e8ec6
Time: 2019-10-03
Author: wcshen1994@163.com
File Name: tests/models/DSIN_test.py
Class Name:
Method Name: get_xy_fd


Project Name: shenweichen/DeepCTR
Commit Name: db63fc682084097bb345e2cbbbc94f73042e8ec6
Time: 2019-10-03
Author: wcshen1994@163.com
File Name: examples/run_dien.py
Class Name:
Method Name: get_xy_fd