6a50c0eeb5a8d12de5cda1344971cf4df9fe5cf7,examples/toxcast/toxcast_rf.py,,,#,78

Before Change


print("Train scores")
print(train_scores)

valid_evaluator = Evaluator(model, valid_dataset, transformers, verbosity=verbosity)
valid_scores = valid_evaluator.compute_model_performance([classification_metric])

print("Validation scores")
print(valid_scores)

After Change


model.fit(train_dataset)
model.save()

print("About to evaluate model")
train_scores = model.evaluate(train_dataset, [metric], transformers)
valid_scores = model.evaluate(valid_dataset, [metric], transformers)

print("Train scores")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: deepchem/deepchem
Commit Name: 6a50c0eeb5a8d12de5cda1344971cf4df9fe5cf7
Time: 2016-12-13
Author: bharath.ramsundar@gmail.com
File Name: examples/toxcast/toxcast_rf.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 17f082bb9ad548e94357df6c19083bc75d640821
Time: 2016-11-08
Author: bharath.ramsundar@gmail.com
File Name: examples/sider/sider_rf.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 1a0a14ac9ca854a013083c7430221167283329e7
Time: 2016-11-02
Author: bharath.ramsundar@gmail.com
File Name: examples/tox21/tox21_tf_models.py
Class Name:
Method Name: