Example #1
0
 def send_report(self):
     if self.dataset is None:
         return
     caption = report.list_legend(self.z_values_view,
                                  self.selected_z_values)
     self.report_plot()
     self.report_caption(caption)
Example #2
0
 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.report_caption(caption)
Example #3
0
 def send_report(self):
     if self.results is None:
         return
     items = OrderedDict()
     items["Target class"] = self.target_cb.currentText()
     if self.display_perf_line:
         items["Costs"] = "FP = {}, FN = {}".format(self.fp_cost, self.fn_cost)
         items["Target probability"] = "{} %".format(self.target_prior)
     caption = report.list_legend(self.classifiers_list_box, self.selected_classifiers)
     self.report_items(items)
     self.report_plot()
     self.report_caption(caption)