0df22e3fe5dce5c4cb12d855e69a87632ee553ea,deepchem/dock/pose_scoring.py,PoseScorer,score,#PoseScorer#Any#Any#,37

Before Change


    Returns a score for a protein/ligand pair.
    features = self.featurizer.featurize_complexes([ligand_file], [protein_file])
    dataset = NumpyDataset(X=features, y=None, w=None, ids=None)
    score = self.model.predict(dataset)
    return score

After Change



  def score(self, protein_file, ligand_file):
    Returns a score for a protein/ligand pair.
    raise NotImplementedError

class GridPoseScorer(object):

  def __init__(self, model, feat="grid"):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepchem/deepchem
Commit Name: 0df22e3fe5dce5c4cb12d855e69a87632ee553ea
Time: 2016-12-30
Author: bharath.ramsundar@gmail.com
File Name: deepchem/dock/pose_scoring.py
Class Name: PoseScorer
Method Name: score


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 1946ba09196a0bb1397eae996345bf0eb7461667
Time: 2018-03-12
Author: Maria-Irina.Nicolae@ibm.com
File Name: src/classifiers/classifier.py
Class Name: Classifier
Method Name: predict


Project Name: tgsmith61591/pmdarima
Commit Name: e7d58577095d95ee014e32c298ea0d53572ff56c
Time: 2018-08-09
Author: tgsmith61591@gmail.com
File Name: pyramid/arima/arima.py
Class Name: ARIMA
Method Name: fit