d97e9cd0c30980647f31c1003d6367e6a41c7124,deepctr/models/afm.py,,AFM,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,18
Before Change
:return: A Keras model instance.
if not isinstance(feature_dim_dict,
dict) or "sparse" not in feature_dim_dict or "dense" not in feature_dim_dict:
raise ValueError(
"feature_dim_dict must be a dict like {"sparse":{"field_1":4,"field_2":3,"field_3":2},"dense":["field_4","field_5"]}")
if not isinstance(feature_dim_dict["sparse"], dict):
raise ValueError("feature_dim_dict["sparse"] must be a dict,cur is", type(
feature_dim_dict["sparse"]))
if not isinstance(feature_dim_dict["dense"], list):
raise ValueError("feature_dim_dict["dense"] must be a list,cur is", type(
feature_dim_dict["dense"]))
deep_emb_list, linear_logit, inputs_list = get_inputs_embedding(
feature_dim_dict, embedding_size, l2_reg_embedding, l2_reg_linear, init_std, seed)
After Change
:return: A Keras model instance.
check_feature_config_dict(feature_dim_dict)
deep_emb_list, linear_logit, inputs_list = get_inputs_embedding(
feature_dim_dict, embedding_size, l2_reg_embedding, l2_reg_linear, init_std, seed)
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 10
Instances
Project Name: shenweichen/DeepCTR
Commit Name: d97e9cd0c30980647f31c1003d6367e6a41c7124
Time: 2019-01-24
Author: wcshen1994@163.com
File Name: deepctr/models/afm.py
Class Name:
Method Name: AFM
Project Name: shenweichen/DeepCTR
Commit Name: d97e9cd0c30980647f31c1003d6367e6a41c7124
Time: 2019-01-24
Author: wcshen1994@163.com
File Name: deepctr/models/afm.py
Class Name:
Method Name: AFM
Project Name: shenweichen/DeepCTR
Commit Name: d97e9cd0c30980647f31c1003d6367e6a41c7124
Time: 2019-01-24
Author: wcshen1994@163.com
File Name: deepctr/models/pnn.py
Class Name:
Method Name: PNN
Project Name: shenweichen/DeepCTR
Commit Name: d97e9cd0c30980647f31c1003d6367e6a41c7124
Time: 2019-01-24
Author: wcshen1994@163.com
File Name: deepctr/models/deepfm.py
Class Name:
Method Name: DeepFM
Project Name: shenweichen/DeepCTR
Commit Name: d97e9cd0c30980647f31c1003d6367e6a41c7124
Time: 2019-01-24
Author: wcshen1994@163.com
File Name: deepctr/models/fnn.py
Class Name:
Method Name: FNN
Project Name: shenweichen/DeepCTR
Commit Name: d97e9cd0c30980647f31c1003d6367e6a41c7124
Time: 2019-01-24
Author: wcshen1994@163.com
File Name: deepctr/models/autoint.py
Class Name:
Method Name: AutoInt
Project Name: shenweichen/DeepCTR
Commit Name: d97e9cd0c30980647f31c1003d6367e6a41c7124
Time: 2019-01-24
Author: wcshen1994@163.com
File Name: deepctr/models/dcn.py
Class Name:
Method Name: DCN
Project Name: shenweichen/DeepCTR
Commit Name: d97e9cd0c30980647f31c1003d6367e6a41c7124
Time: 2019-01-24
Author: wcshen1994@163.com
File Name: deepctr/models/xdeepfm.py
Class Name:
Method Name: xDeepFM
Project Name: shenweichen/DeepCTR
Commit Name: d97e9cd0c30980647f31c1003d6367e6a41c7124
Time: 2019-01-24
Author: wcshen1994@163.com
File Name: deepctr/models/nfm.py
Class Name:
Method Name: NFM