805106ddabbe02b57718a4132190d00c98e94fa4,deepchem/utils/evaluate.py,Evaluator,compute_model_performance,#Evaluator#Any#Any#Any#Any#,64

Before Change


    //pred_y_df = self.model.predict(self.dataset, self.transformers)
    //y = self.dataset.get_labels()
    //w = self.dataset.get_weights()
    y, y_pred, w_pred = self.model.predict(self.dataset, self.transformers)
    multitask_scores = {}

    colnames = ["task_name"] + [metric.name for metric in metrics]

After Change


    
    //pred_y_df = self.model.predict(self.dataset, self.transformers)
    y = self.dataset.get_labels()
    w = self.dataset.get_weights()
    y_pred = self.model.predict(self.dataset, self.transformers)
    multitask_scores = {}

    colnames = ["task_name"] + [metric.name for metric in metrics]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepchem/deepchem
Commit Name: 805106ddabbe02b57718a4132190d00c98e94fa4
Time: 2016-04-18
Author: bharath.ramsundar@gmail.com
File Name: deepchem/utils/evaluate.py
Class Name: Evaluator
Method Name: compute_model_performance


Project Name: CyberZHG/keras-bert
Commit Name: 9680da6957d8026a0a5f47ed3da21501ada15fa3
Time: 2019-05-29
Author: CyberZHG@gmail.com
File Name: tests/layers/test_pooling.py
Class Name: TestPooling
Method Name: test_masked_global_max_pool_1d_predict


Project Name: albermax/innvestigate
Commit Name: 05fc3863f9b6c5b9a0393368fb02e999f1fc4d32
Time: 2018-04-15
Author: work.alber.maximilian@gmail.com
File Name: innvestigate/analyzer/relevance_based/relevance_rule.py
Class Name: AlphaBetaRule
Method Name: __init__