4239066b2ac566c8f805fe5bade39815f416de89,examples/adme/run_benchmarks.py,,,#,136
Before Change
best_val_score = latest_val_score
train_score = latest_train_score
print((MODEL, SPLIT, DATASET, train_score, best_val_score))
elif MODEL == "PDNN":
model.fit(train, nb_epoch=25)
train_score = model.evaluate(train, [metric],
transformers)["mean-pearson_r2_score"]
val_score = model.evaluate(val, [metric],
transformers)["mean-pearson_r2_score"]
print((MODEL, SPLIT, DATASET, train_score, val_score))
// we cant re-open the closed session...
else:
model.fit(train)
train_score = model.evaluate(train, [metric],
After Change
//======================================================================
// Run Benchmarks {GC-DNN, SVR, RF}
print("About to retrieve datasets")
retrieve_datasets()
MODEL = "GraphConv"
SPLIT = "scaffold"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: deepchem/deepchem
Commit Name: 4239066b2ac566c8f805fe5bade39815f416de89
Time: 2017-08-13
Author: rbharath@stanford.edu
File Name: examples/adme/run_benchmarks.py
Class Name:
Method Name:
Project Name: pytorch/tutorials
Commit Name: a61996ae5406ddfee4ac65ab647ebe858fc16260
Time: 2018-09-17
Author: matthewinkawhich@gmail.com
File Name: beginner_source/chatbot_tutorial.py
Class Name:
Method Name: evaluateInput
Project Name: pytorch/tutorials
Commit Name: 69d978ed497856d05730c05564597e604713f5c4
Time: 2018-09-16
Author: minkawhich@fb.com
File Name: beginner_source/chatbot_tutorial.py
Class Name:
Method Name: evaluateInput