de190ef8f5ed51aa288b877f8dda855a2d19b086,deepchem/molnet/run_benchmark_models.py,,benchmark_classification,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,21

Before Change



    max_atoms_train = max([mol.get_num_atoms() for mol in train_dataset.X])
    max_atoms_valid = max([mol.get_num_atoms() for mol in valid_dataset.X])
    max_atoms_test = max([mol.get_num_atoms() for mol in test_dataset.X])
    max_atoms = max([max_atoms_train, max_atoms_valid, max_atoms_test])

    graph_model = deepchem.nn.SequentialWeaveGraph(
        max_atoms=max_atoms, n_atom_feat=n_features, n_pair_feat=n_pair_feat)
    graph_model.add(deepchem.nn.WeaveLayer(max_atoms, 75, 14))

After Change


        batch_size, n_atom_feat=n_features, n_pair_feat=n_pair_feat, max_atoms=120)
    graph_model.add(deepchem.nn.WeaveLayer(75, 14))
    graph_model.add(deepchem.nn.WeaveLayer(50, 50))
    graph_model.add(deepchem.nn.Dense(n_graph_feat, 50, activation="tanh"))
    graph_model.add(deepchem.nn.BatchNormalization(epsilon=1e-5, mode=1))
    graph_model.add(
        deepchem.nn.WeaveGather(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: deepchem/deepchem
Commit Name: de190ef8f5ed51aa288b877f8dda855a2d19b086
Time: 2017-04-09
Author: zqwu@stanford.edu
File Name: deepchem/molnet/run_benchmark_models.py
Class Name:
Method Name: benchmark_classification


Project Name: deepchem/deepchem
Commit Name: de190ef8f5ed51aa288b877f8dda855a2d19b086
Time: 2017-04-09
Author: zqwu@stanford.edu
File Name: deepchem/molnet/run_benchmark_models.py
Class Name:
Method Name: benchmark_regression


Project Name: philipperemy/keras-tcn
Commit Name: 0cfe82c6beb9a28a5ff7da81b86fa0e93c388f14
Time: 2019-11-20
Author: premy@cogent.co.jp
File Name: tasks/save_reload_model.py
Class Name:
Method Name: