045c79caa96b768de9ce363d8c380a5c98f6310d,examples/benchmark.py,,benchmark_loading_datasets,#Any#Any#Any#Any#Any#Any#Any#Any#,48

Before Change


      for i in valid_score:
        f.write(","+i+","+str(valid_score[i]["mean-roc_auc_score"])) 
      //output timing data: running time include all the model
      f.write("\n"+dname+",time_for_loading,,"+
              str(time_finish_loading-time_start)+"seconds")
      f.write("\n"+dname+",time_for_running,,"+
              str(time_finish_running-time_finish_loading)+"seconds")
    
    //clear workspace         

After Change


  if not dataset_name in ["all","muv","nci","pcba","tox21","sider","toxcast"]:
    raise ValueError("Dataset not supported")
                          
  if model in ["graphconv"]:
    method = "GraphConv"
  elif model in ["tf","logreg","rf"]:
    method = "ECFP"
  else:
    raise ValueError("Model not supported")
      
  if dataset_name == "all":
    //currently not including the nci dataset
    dataset_name = ["tox21","muv","pcba","sider","toxcast"]
  else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: deepchem/deepchem
Commit Name: 045c79caa96b768de9ce363d8c380a5c98f6310d
Time: 2016-11-09
Author: zqwu@sherlock-ln02.stanford.edu
File Name: examples/benchmark.py
Class Name:
Method Name: benchmark_loading_datasets


Project Name: maciejkula/spotlight
Commit Name: eef158f03c4ec9bf872a3e358d62a1fd21a73c35
Time: 2017-07-13
Author: maciej.kula@gmail.com
File Name: examples/movielens_cnn.py
Class Name:
Method Name:


Project Name: lingpy/lingpy
Commit Name: 63627cf7c64e99fba9417b1c064d5703620028bc
Time: 2016-04-20
Author: mattis.list@uni-marburg.de
File Name: lingpy/data/ipa/sampa.py
Class Name:
Method Name: