f98d8886d3ee70765debc6ab06ed71ef891a91bd,niftynet/contrib/evaluation/segmentation_evaluations.py,ErrorMapsCC,layer_op,#ErrorMapsCC#Any#Any#,39

Before Change


                            subject_id + "_" + key + ".nii",
                            maps[key],
                            self.reader.output_list[image_idx]["label"], 0)
        results_dict = ResultsDictionary()
        results_dict[("subject_id",)] = [out]
        return results_dict

After Change


                            maps[key],
                            self.reader.output_list[image_idx]["label"], 0)
        pdf = pd.DataFrame.from_records([out], ("subject_id",))
        return [pdf]
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/contrib/evaluation/segmentation_evaluations.py
Class Name: ErrorMapsCC
Method Name: layer_op


Project Name: NifTK/NiftyNet
Commit Name: 22856afbd44b8179199f7629a54dea13043cdd5d
Time: 2018-02-16
Author: eli.gibson@gmail.com
File Name: niftynet/evaluation/classification_evaluations.py
Class Name: accuracy
Method Name: layer_op


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