29cab76fb7689fb38277734940f5f433b6a809c8,deepchem/datasets/tests/__init__.py,TestDatasetAPI,_load_solubility_data,#TestDatasetAPI#,52

Before Change


    complex_featurizers = []
    input_transformer_classes = []
    output_transformer_classes = []
    task_types = {"log-solubility": "regression"}
    input_file = "example.csv"
    return self._create_dataset(
        compound_featurizers, complex_featurizers,
        input_transformer_classes, output_transformer_classes,
        input_file, task_types.keys())

  def _load_classification_data(self):
    Loads classification data from example.csv

After Change


    complex_featurizers = []
    input_transformer_classes = []
    output_transformer_classes = []
    tasks = ["log-solubility"]
    task_type = "regression"
    task_types = {task: task_type for task in tasks}
    input_file = "example.csv"
    return self._create_dataset(
        compound_featurizers, complex_featurizers,
        input_transformer_classes, output_transformer_classes,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 9

Non-data size: 10

Instances


Project Name: deepchem/deepchem
Commit Name: 29cab76fb7689fb38277734940f5f433b6a809c8
Time: 2016-04-14
Author: bharath.ramsundar@gmail.com
File Name: deepchem/datasets/tests/__init__.py
Class Name: TestDatasetAPI
Method Name: _load_solubility_data


Project Name: deepchem/deepchem
Commit Name: 29cab76fb7689fb38277734940f5f433b6a809c8
Time: 2016-04-14
Author: bharath.ramsundar@gmail.com
File Name: deepchem/models/test/test_tf_api.py
Class Name: TestTensorflowAPI
Method Name: test_singletask_tf_mlp_ECFP_classification_API


Project Name: deepchem/deepchem
Commit Name: 29cab76fb7689fb38277734940f5f433b6a809c8
Time: 2016-04-14
Author: bharath.ramsundar@gmail.com
File Name: deepchem/models/test/test_api.py
Class Name: TestKerasSklearnAPI
Method Name: test_singletask_keras_mlp_USF_regression_API


Project Name: deepchem/deepchem
Commit Name: 29cab76fb7689fb38277734940f5f433b6a809c8
Time: 2016-04-14
Author: bharath.ramsundar@gmail.com
File Name: deepchem/models/test/test_api.py
Class Name: TestKerasSklearnAPI
Method Name: test_singletask_sklearn_rf_ECFP_regression_sharded_API


Project Name: deepchem/deepchem
Commit Name: 29cab76fb7689fb38277734940f5f433b6a809c8
Time: 2016-04-14
Author: bharath.ramsundar@gmail.com
File Name: deepchem/datasets/tests/__init__.py
Class Name: TestDatasetAPI
Method Name: _load_classification_data


Project Name: deepchem/deepchem
Commit Name: 29cab76fb7689fb38277734940f5f433b6a809c8
Time: 2016-04-14
Author: bharath.ramsundar@gmail.com
File Name: deepchem/models/test/test_api.py
Class Name: TestKerasSklearnAPI
Method Name: test_singletask_sklearn_rf_user_specified_regression_API


Project Name: deepchem/deepchem
Commit Name: 29cab76fb7689fb38277734940f5f433b6a809c8
Time: 2016-04-14
Author: bharath.ramsundar@gmail.com
File Name: deepchem/models/test/test_api.py
Class Name: TestKerasSklearnAPI
Method Name: test_singletask_sklearn_rf_ECFP_regression_API


Project Name: deepchem/deepchem
Commit Name: 29cab76fb7689fb38277734940f5f433b6a809c8
Time: 2016-04-14
Author: bharath.ramsundar@gmail.com
File Name: deepchem/hyperparameters/tests/test_hyperparam_opt.py
Class Name: TestHyperparamOptAPI
Method Name: test_singletask_sklearn_rf_ECFP_regression_hyperparam_opt


Project Name: deepchem/deepchem
Commit Name: 29cab76fb7689fb38277734940f5f433b6a809c8
Time: 2016-04-14
Author: bharath.ramsundar@gmail.com
File Name: deepchem/models/test/test_api.py
Class Name: TestKerasSklearnAPI
Method Name: test_singletask_sklearn_rf_RDKIT_descriptor_regression_API