コード例 #1
0
    def setUp(self) -> None:
        warnings.simplefilter("ignore", ResourceWarning)
        """ Specify Config Files """
        self.json = prepare_template(filename='feature-importance-ranking.json')
        json_obj = read_json_source(self.json)
        self.json_report_name = json_obj["name"]
        json_writers = json_obj["writers"]
        for writer in json_writers:
            if writer["class"] == "Pdf":
                self.json_writer_pdf_name = writer["attr"]["name"]
            if writer["class"] == "Html":
                self.json_writer_html_name = writer["attr"]["name"]
        self.json_writer_pdf_page_number = 7
        self.json_writer_html_tag_number = 1

        self.yaml = prepare_template(filename='feature-importance-ranking.yml')
        yaml_obj = read_yaml_source(self.yaml)
        self.yaml_report_name = yaml_obj["name"]
        yaml_writers = yaml_obj["writers"]
        for writer in yaml_writers:
            if writer["class"] == "Pdf":
                self.yaml_writer_pdf_name = writer["attr"]["name"]
            if writer["class"] == "Html":
                self.yaml_writer_html_name = writer["attr"]["name"]
        self.yaml_writer_pdf_page_number = 7
        self.yaml_writer_html_tag_number = 1

        self.out_path = prepare_output_path(working_path='sample_output')
コード例 #2
0
    def setUp(self) -> None:
        warnings.simplefilter("ignore", ResourceWarning)
        """ Specify Config Files """
        self.json = prepare_template(filename='model-interpreter-gb-regression.json')
        json_obj = read_json_source(self.json)
        self.json_report_name = json_obj["name"]
        json_writers = json_obj["writers"]
        for writer in json_writers:
            if writer["class"] == "Pdf":
                self.json_writer_pdf_name = writer["attr"]["name"]
        self.json_writer_pdf_page_number = 2

        self.out_path = prepare_output_path(working_path='sample_output')
コード例 #3
0
    def setUp(self) -> None:
        warnings.simplefilter("ignore", ResourceWarning)
        """ Specify Config Files """
        self.json = prepare_template(
            filename='data-statistics-analysis_nza.json')
        json_obj = read_json_source(self.json)
        self.json_report_name = json_obj["name"]
        json_writers = json_obj["writers"]
        for writer in json_writers:
            if writer["class"] == "Pdf":
                self.json_writer_pdf_name = writer["attr"]["name"]
        self.json_writer_pdf_page_number = 8

        self.out_path = prepare_output_path(working_path='sample_output')
コード例 #4
0
 def setUp(self) -> None:
     warnings.simplefilter("ignore", ResourceWarning)
     """ Specify Config Files """
     self.basic_json = prepare_template(filename='basic-skeleton.json')
     self.basic_yaml = prepare_template(filename='basic-skeleton.yml')