8182ea386e6529a1a2294d8e2d33fc040d0cbfb2,deepctr/inputs.py,,get_linear_logit,#Any#Any#Any#Any#Any#Any#Any#,153
Before Change
_, dense_input_list = input_from_feature_columns(features,feature_columns,1,l2_reg,init_std,seed,prefix=prefix)
if len(linear_emb_list[0]) > 1:
linear_term = concat_fun([add(linear_emb) for linear_emb in linear_emb_list])
elif len(linear_emb_list[0]) == 1:
linear_term = concat_fun([linear_emb[0] for linear_emb in linear_emb_list])
else:
After Change
linear_logit = Linear(l2_reg,mode=2)([sparse_input,dense_input])
elif len(linear_emb_list[0])>0:
sparse_input = concat_fun(linear_emb_list[i])
linear_logit = Linear(l2_reg,mode=0)(sparse_input)
elif len(dense_input_list) >0:
dense_input = concat_fun(dense_input_list)
linear_logit = Linear(l2_reg,mode=1)(dense_input)
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: shenweichen/DeepCTR
Commit Name: 8182ea386e6529a1a2294d8e2d33fc040d0cbfb2
Time: 2019-07-21
Author: wcshen1994@163.com
File Name: deepctr/inputs.py
Class Name:
Method Name: get_linear_logit
Project Name: GPflow/GPflow
Commit Name: 3a713e8350351d127d4296f44e4a62521a26b11e
Time: 2017-03-07
Author: alexggmatthews@googlemail.com
File Name: testing/test_mean_functions.py
Class Name: TestMeanFuncs
Method Name: setUp
Project Name: HyperGAN/HyperGAN
Commit Name: 894a2b921ea0ba9969cec62b484d03ab706ad25a
Time: 2020-02-07
Author: martyn@255bits.com
File Name: hypergan/configurable_component.py
Class Name: ConfigurableComponent
Method Name: layer_linear