b97910e40fee6cb3116fbbfa9b72cede319a2ce0,deepchem/hyper/tests/test_gaussian_hyperparam_opt.py,TestGaussianHyperparamOpt,test_rf_with_logdir,#TestGaussianHyperparamOpt#,54

Before Change


    Test that using a logdir can work correctly.
    optimizer = dc.hyper.GaussianProcessHyperparamOpt(self.rf_model_builder)
    params_dict = {"n_estimators": 10}
    transformers = [
        dc.trans.NormalizationTransformer(
            transform_y=True, dataset=self.train_dataset)
    ]
    metric = dc.metrics.Metric(dc.metrics.pearson_r2_score)
    with tempfile.TemporaryDirectory() as tmpdirname:
      best_model, best_hyperparams, all_results = optimizer.hyperparam_search(
          params_dict,

After Change


    Test that using a logdir can work correctly.
    optimizer = dc.hyper.GaussianProcessHyperparamOpt(self.rf_model_builder)
    params_dict = {"n_estimators": 10}
    transformers = []
    metric = dc.metrics.Metric(dc.metrics.pearson_r2_score)
    with tempfile.TemporaryDirectory() as tmpdirname:
      best_model, best_hyperparams, all_results = optimizer.hyperparam_search(
          params_dict,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: deepchem/deepchem
Commit Name: b97910e40fee6cb3116fbbfa9b72cede319a2ce0
Time: 2020-07-02
Author: bharath@Bharaths-MBP.zyxel.com
File Name: deepchem/hyper/tests/test_gaussian_hyperparam_opt.py
Class Name: TestGaussianHyperparamOpt
Method Name: test_rf_with_logdir


Project Name: deepchem/deepchem
Commit Name: b97910e40fee6cb3116fbbfa9b72cede319a2ce0
Time: 2020-07-02
Author: bharath@Bharaths-MBP.zyxel.com
File Name: deepchem/hyper/tests/test_gaussian_hyperparam_opt.py
Class Name: TestGaussianHyperparamOpt
Method Name: test_rf_example


Project Name: deepchem/deepchem
Commit Name: e17f245a5c9c63e5028be8d886cffea805e94294
Time: 2017-01-28
Author: bharath.ramsundar@gmail.com
File Name: examples/kinase/KINASE_datasets.py
Class Name:
Method Name: get_transformers