74672a0cb8d5f42eedb4298c2c5f4ac5390994fc,deepchem/models/tensorgraph/models/scscore.py,Scscore,Scscore_1,#,8

Before Change



  label = Label(shape=(300,))

  loss = Hingeloss(in_layers=[label, hidden_5])
  tg.set_loss(loss)
  output = Sigmoid(in_layers=[hidden_5])
  tg.add_output(output)

After Change


      tensorboard=True, model_dir="/tmp/scscore", use_queue=True)

  reactant_features = Feature()
  product_features = Feature()

  dense_reactant_1 = Dense(
      out_channels=300, in_layers=[reactant_features], activation_fn=tf.nn.relu)
  dense_product_1 = dense_reactant_1.shared(in_layers=[product_features])
  dense_reactant_2 = Dense(
      out_channels=300, in_layers=[dense_reactant_1], activation_fn=tf.nn.relu)
  dense_product_2 = dense_reactant_2.shared(in_layers=[dense_product_1])
  dense_reactant_3 = Dense(
      out_channels=300, in_layers=[dense_reactant_2], activation_fn=tf.nn.relu)
  dense_product_3 = dense_reactant_3.shared(in_layers=[dense_product_2])
  dense_reactant_4 = Dense(
      out_channels=300, in_layers=[dense_reactant_3], activation_fn=tf.nn.relu)
  dense_product_4 = dense_reactant_4.shared(in_layers=[dense_product_3])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepchem/deepchem
Commit Name: 74672a0cb8d5f42eedb4298c2c5f4ac5390994fc
Time: 2018-03-19
Author: abhigyan0987@gmail.com
File Name: deepchem/models/tensorgraph/models/scscore.py
Class Name: Scscore
Method Name: Scscore_1


Project Name: Featuretools/featuretools
Commit Name: a48dbaebaef64d1f6b4c15f839424745f9b4e4d0
Time: 2019-12-18
Author: jzinque@gmail.com
File Name: featuretools/tests/computational_backend/test_feature_set_calculator.py
Class Name:
Method Name: test_empty_child_dataframe


Project Name: Featuretools/featuretools
Commit Name: 36ce3c300172390d702a614b5784332b8b56343a
Time: 2019-01-18
Author: kmax12@gmail.com
File Name: featuretools/tests/primitive_tests/test_transform_features.py
Class Name:
Method Name: test_init_and_name