1b97292ef55358a0207ea3fb04f9d26b8266122d,examples/low_data/tox_res_one_fold.py,,,#,15

Before Change


support_model.join(dc.nn.ResiLSTMEmbedding(
    test_batch_size, support_batch_size, max_depth))

with tf.Session() as sess:
  model = dc.models.SupportGraphClassifier(
    sess, support_model, test_batch_size=test_batch_size,
    support_batch_size=support_batch_size, learning_rate=learning_rate)

  model.fit(train_dataset, nb_epochs=nb_epochs,
            n_episodes_per_epoch=n_train_trials,
            n_pos=n_pos, n_neg=n_neg, log_every_n_samples=log_every_n_samples)
  mean_scores, std_scores = model.evaluate(
      test_dataset, metric, n_pos, n_neg, n_trials=n_eval_trials)

print("Mean Scores on evaluation dataset")
print(mean_scores)
print("Standard Deviations on evaluation dataset")
print(std_scores)

After Change


from __future__ import unicode_literals

import numpy as np
np.random.seed(123)
import tensorflow as tf
tf.set_random_seed(123)
import deepchem as dc
from datasets import load_tox21_convmol
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 5

Instances


Project Name: deepchem/deepchem
Commit Name: 1b97292ef55358a0207ea3fb04f9d26b8266122d
Time: 2017-03-04
Author: bharath.ramsundar@gmail.com
File Name: examples/low_data/tox_res_one_fold.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 1b97292ef55358a0207ea3fb04f9d26b8266122d
Time: 2017-03-04
Author: bharath.ramsundar@gmail.com
File Name: examples/low_data/tox_attn_one_fold.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 1b97292ef55358a0207ea3fb04f9d26b8266122d
Time: 2017-03-04
Author: bharath.ramsundar@gmail.com
File Name: examples/low_data/muv_res_one_fold.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 1b97292ef55358a0207ea3fb04f9d26b8266122d
Time: 2017-03-04
Author: bharath.ramsundar@gmail.com
File Name: examples/low_data/sider_res_one_fold.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 1b97292ef55358a0207ea3fb04f9d26b8266122d
Time: 2017-03-04
Author: bharath.ramsundar@gmail.com
File Name: examples/low_data/tox_graph_conv_one_fold.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 1b97292ef55358a0207ea3fb04f9d26b8266122d
Time: 2017-03-04
Author: bharath.ramsundar@gmail.com
File Name: examples/low_data/sider_attn_one_fold.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 1b97292ef55358a0207ea3fb04f9d26b8266122d
Time: 2017-03-04
Author: bharath.ramsundar@gmail.com
File Name: examples/low_data/muv_attn_one_fold.py
Class Name:
Method Name: