2500573398ef980290630e87c58cc9f6b0caa140,skmultiflow/evaluation/evaluate_holdout.py,EvaluateHoldout,__init__,#EvaluateHoldout#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,138

Before Change


                self.plot_options = ["performance", "kappa"]
            elif self.task_type == "regression":
                self.plot_options = ["mean_square_error", "true_vs_predict"]
            elif self.task_type == "multi_output":
                self.plot_options = ["hamming_score", "exact_match", "j_index"]
        elif plot_options is not None:
            self.plot_options = [x.lower() for x in plot_options]
        for i in range(len(self.plot_options)):
            if self.plot_options[i] not in PLOT_TYPES:
                raise ValueError(str(self.plot_options[i]) + ": Plot type not supported.")

After Change


        self.show_plot = show_plot
        self.plot_options = None
        if plot_options is None:
            self.plot_options = TASK_PLOT_OPTIONS[self.task_type]
        else:
            self.plot_options = map(lower, plot_options)
        for plot_option in self.plot_options:
            if plot_option not in PLOT_TYPES:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 2500573398ef980290630e87c58cc9f6b0caa140
Time: 2017-12-03
Author: peng.yu@shopify.com
File Name: skmultiflow/evaluation/evaluate_holdout.py
Class Name: EvaluateHoldout
Method Name: __init__


Project Name: open-mmlab/mmdetection
Commit Name: f0644d7d7137a0f7369616ed1740379e47a918cf
Time: 2020-03-19
Author: melikovk@gmail.com
File Name: tools/test.py
Class Name: MultipleKVAction
Method Name: __call__


Project Name: comic/grand-challenge.org
Commit Name: c8f80caf3b3a5707a2d5d2b9dfee1e4e80f1b3be
Time: 2017-05-09
Author: jamesmeakin@gmail.com
File Name: django/comicsite/templatetags/comic_templatetags.py
Class Name: comic_URLNode
Method Name: render