コード例 #1
0
def ReportTable(self,
                hypo_table=True,
                p_teacher_xy_h=False,
                p_y_xh=False,
                p_teacher_x_h=True,
                p_learner_h_xy=True,
                format=False,
                textcopy=False):
    Report.Report(self.num_hypo, self.num_feature, self.num_label,
                  self.hypo_table if hypo_table == True else None,
                  self.p_teacher_xy_h if p_teacher_xy_h == True else None,
                  self.p_y_xh if p_y_xh == True else None,
                  self.p_teacher_x_h if p_teacher_x_h == True else None,
                  self.p_learner_h_xy if p_learner_h_xy == True else None,
                  None)
    if textcopy:
        Report.Report_to_File(
            self.hypo_table if hypo_table == True else None,
            self.p_teacher_xy_h if p_teacher_xy_h == True else None,
            self.p_y_xh if p_y_xh == True else None,
            self.p_teacher_x_h if p_teacher_x_h == True else None,
            self.p_learner_h_xy if p_learner_h_xy == True else None)