8a9aa2b4cc6a26c34fbe67166f7131c672846f15,Orange/widgets/evaluate/owliftcurve.py,OWLiftCurve,send_report,#OWLiftCurve#,232

Before Change


        save_img.exec_()

    def send_report(self):
        self.report_items(
            "Settings",
            [("Target class",
              self.combo_value(self.target_cb)),
             ("Classifiers",
              ", ".join(name for i, name in enumerate(self.classifier_names)
                        if i in self.selected_classifiers))])
        self.report_plot(self.plot)

def lift_curve_from_results(results, target, clf_idx, subset=slice(0, -1)):
    actual = results.actual[subset]

After Change


                          file_formats=FileFormat.img_writers)
        save_img.exec_()

    def send_report(self):
        if self.results is None:
            return
        caption = report.list_legend(self.classifiers_list_box,
                                     self.selected_classifiers)
        self.report_items((("Target class", self.target_cb.currentText()),))
        self.report_plot(self.plot)
        self.report_caption(caption)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: biolab/orange3
Commit Name: 8a9aa2b4cc6a26c34fbe67166f7131c672846f15
Time: 2015-12-04
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/evaluate/owliftcurve.py
Class Name: OWLiftCurve
Method Name: send_report


Project Name: biolab/orange3
Commit Name: 11d97f308c92d724749c348df477c062dbed23e8
Time: 2016-10-14
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/visualize/owtreeviewer.py
Class Name: OWTreeGraph
Method Name: send_report


Project Name: biolab/orange3
Commit Name: 262e0448d79220dd66c4f59381bf031f56cb5fa1
Time: 2015-10-30
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/evaluate/owliftcurve.py
Class Name: OWLiftCurve
Method Name: send_report


Project Name: biolab/orange3
Commit Name: 8a9aa2b4cc6a26c34fbe67166f7131c672846f15
Time: 2015-12-04
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/evaluate/owliftcurve.py
Class Name: OWLiftCurve
Method Name: send_report