0d0bf039265afd094eebfd4cd5bb1bc8438a5ec1,deepchem/models/tests/test_api.py,TestAPI,test_singletask_tf_mlp_ECFP_classification_API,#TestAPI#,239

Before Change


      for transformer in transformers:
        dataset = transformer.transform(dataset)

    classification_metrics = [Metric(metrics.roc_auc_score),
                              Metric(metrics.matthews_corrcoef),
                              Metric(metrics.recall_score),
                              Metric(metrics.accuracy_score)]

    tensorflow_model = TensorflowMultiTaskClassifier(
        len(tasks), n_features, self.model_dir)
    model = TensorflowModel(tensorflow_model, self.model_dir)

After Change


      for transformer in transformers:
        dataset = transformer.transform(dataset)

    classification_metrics = [dc.metrics.Metric(dc.metrics.roc_auc_score),
                              dc.metrics.Metric(dc.metrics.matthews_corrcoef),
                              dc.metrics.Metric(dc.metrics.recall_score),
                              dc.metrics.Metric(dc.metrics.accuracy_score)]

    tensorflow_model = dc.models.TensorflowMultiTaskClassifier(
        len(tasks), n_features)
    model = dc.models.TensorflowModel(tensorflow_model)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: deepchem/deepchem
Commit Name: 0d0bf039265afd094eebfd4cd5bb1bc8438a5ec1
Time: 2016-10-30
Author: bharath.ramsundar@gmail.com
File Name: deepchem/models/tests/test_api.py
Class Name: TestAPI
Method Name: test_singletask_tf_mlp_ECFP_classification_API


Project Name: deepchem/deepchem
Commit Name: 0d0bf039265afd094eebfd4cd5bb1bc8438a5ec1
Time: 2016-10-30
Author: bharath.ramsundar@gmail.com
File Name: deepchem/models/tests/test_api.py
Class Name: TestAPI
Method Name: test_singletask_sklearn_rf_user_specified_regression_API


Project Name: deepchem/deepchem
Commit Name: 7849d99c32d026dc3a61a73357a0b5afc360de10
Time: 2017-01-18
Author: joegomes@stanford.edu
File Name: examples/gdb7/gdb7_tf_model.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 0d0bf039265afd094eebfd4cd5bb1bc8438a5ec1
Time: 2016-10-30
Author: bharath.ramsundar@gmail.com
File Name: deepchem/models/tests/test_api.py
Class Name: TestAPI
Method Name: test_singletask_tf_mlp_ECFP_classification_API