fe358db6913812c1e3ba8cd8036d941c996fb413,deepchem/datasets/muv_datasets.py,,load_muv,#Any#Any#,30
Before Change
samples_dir, shard_size=8192,
reload=reload)
dataset = Dataset(data_dir=data_dir, samples=featurized_samples,
featurizers=featurizers, tasks=all_MUV_tasks,
verbosity=verbosity, reload=reload)
// Initialize transformers
input_transformers = []
output_transformers = []
weight_transformers = [
BalancingTransformer(transform_w=True, dataset=dataset)]
transformers = input_transformers + output_transformers + weight_transformers
if not reload:
print("About to transform data")
for transformer in transformers:
transformer.transform(dataset)
After Change
smiles_field="smiles",
featurizers=featurizers,
verbosity=verbosity)
if not reload or not os.path.exists(data_dir):
dataset = featurizer.featurize(dataset_file, data_dir)
regen = True
else:
dataset = Dataset(data_dir, reload=True)
// Initialize transformers
transformers = [
BalancingTransformer(transform_w=True, dataset=dataset)]
if regen:
print("About to transform data")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: deepchem/deepchem
Commit Name: fe358db6913812c1e3ba8cd8036d941c996fb413
Time: 2016-05-31
Author: bharath.ramsundar@gmail.com
File Name: deepchem/datasets/muv_datasets.py
Class Name:
Method Name: load_muv
Project Name: arviz-devs/arviz
Commit Name: 7ffcd4a2a5213c0a7de9fdc3aff4725c166db986
Time: 2019-01-27
Author: ahartikainen@users.noreply.github.com
File Name: arviz/tests/test_plots.py
Class Name:
Method Name: test_plot_ppc_discrete
Project Name: deepchem/deepchem
Commit Name: fe358db6913812c1e3ba8cd8036d941c996fb413
Time: 2016-05-31
Author: bharath.ramsundar@gmail.com
File Name: deepchem/datasets/pcba_datasets.py
Class Name:
Method Name: load_pcba