f98d8886d3ee70765debc6ab06ed71ef891a91bd,niftynet/evaluation/base_evaluator.py,BaseEvaluator,evaluate_next,#BaseEvaluator#Any#Any#Any#,68

Before Change


               [currently not used]
        :return: a ResultsDictionary object
        
        metrics = ResultsDictionary()

        for evaluation in self.evaluations:
            results = evaluation(subject_id, data)
            metrics.update_all(results)
        return metrics

    def aggregate(self, result_dict):
        

After Change


               [currently not used]
        :return: a list of pandas.DataFrame objects
        
        metrics = []
        for evaluation in self.evaluations:
            metrics += evaluation(subject_id, data)
        return metrics
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: NifTK/NiftyNet
Commit Name: f98d8886d3ee70765debc6ab06ed71ef891a91bd
Time: 2018-02-16
Author: yipenghu@gmail.com
File Name: niftynet/evaluation/base_evaluator.py
Class Name: BaseEvaluator
Method Name: evaluate_next


Project Name: NifTK/NiftyNet
Commit Name: f98d8886d3ee70765debc6ab06ed71ef891a91bd
Time: 2018-02-16
Author: yipenghu@gmail.com
File Name: niftynet/evaluation/base_evaluator.py
Class Name: CachedSubanalysisEvaluator
Method Name: evaluate_next


Project Name: NifTK/NiftyNet
Commit Name: f98d8886d3ee70765debc6ab06ed71ef891a91bd
Time: 2018-02-16
Author: yipenghu@gmail.com
File Name: niftynet/evaluation/base_evaluator.py
Class Name: BaseEvaluator
Method Name: evaluate_from_generator