def RFR_predict_price_new(self): r2=RFR_predict_price() _translate = QtCore.QCoreApplication.translate self.label_4.setText(_translate("MainWindow", "R方值"+str(r2)))
时间: 2023-06-07 20:11:17 浏览: 131
RFR900_ANDROID_SDK_20171124.zip
您的第一个问题是关于代码中的错误,缺少字符串连接符。正确的语句应该是:
def RFR_predict_price_new(self):
r2 = RFR_predict_price()
_translate = QtCore.QCoreApplication.translate
self.label_4.setText(_translate("MainWindow", "R方值 " + str(r2)))
阅读全文