def __init__(self, parent=None, button_func=None, params=None):
    super().__init__(parent, 'LearningCurve 2', params)
    self.button_func = button_func
    path = (os.path.abspath(os.path.dirname(__file__)) + '/static/')
    path1 = (path + 'learning_curve_2')
    text = self.get_text(path1)
    if (self.params.lang == 'en'):
        self.set_paragraph('', text=text)
    else:
        self.set_paragraph('', text=text)
    self.plot_curve(self.params.results_fs['algorithms'])
    if (self.params.lang == 'en'):
        text = 'Finally, MALSS output analysis results, and you can predict unknown data (if you have).\nPress "Next" to continue.'
        self.set_paragraph('', text=text)
    else:
        text = '最後に学習結果の出力と，未知データがあればその予測を行いましょう．\nNextを押してください'
        self.set_paragraph('', text=text)
    self.vbox.addStretch()
    self.btn_next = QPushButton('Next', self.inner)
    self.btn_next.setStyleSheet('QPushButton{font: bold; font-size: 15pt; background-color: white;};')
    if (self.params.lang == 'en'):
        self.btn_next.clicked.connect((lambda : self.button_func('Prediction')))
    else:
        self.btn_next.clicked.connect((lambda : self.button_func('予測')))
    self.vbox.addWidget(self.btn_next)
def __init__(self, parent=None, button_func=None, params=None):
    super().__init__(parent, 'LearningCurve 2', params)
    self.button_func = button_func
    path = (os.path.abspath(os.path.dirname(__file__)) + '/static/')
    path1 = (path + 'learning_curve_2')
    text = self.get_text(path1)
    if (self.params.lang == 'en'):
        self.set_paragraph(, text=text)
    else:
        self.set_paragraph(, text=text)
    self.plot_curve(self.params.results_fs['algorithms'])
    if (self.params.lang == 'en'):
        text = 'Finally, MALSS output analysis results, and you can predict unknown data (if you have).\nPress "Next" to continue.'
        self.set_paragraph(, text=text)
    else:
        text = '最後に学習結果の出力と，未知データがあればその予測を行いましょう．\nNextを押してください'
        self.set_paragraph(, text=text)
    self.vbox.addStretch()
    self.btn_next = QPushButton('Next', self.inner)
    self.btn_next.setStyleSheet('QPushButton{font: bold; font-size: 15pt; background-color: white;};')
    if (self.params.lang == 'en'):
        self.btn_next.clicked.connect((lambda : self.button_func('Prediction')))
    else:
        self.btn_next.clicked.connect((lambda : self.button_func('予測')))
    self.vbox.addWidget(self.btn_next)