2024-06-08 03:00:08 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>MainWindow</class>
|
|
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>800</width>
|
|
|
|
<height>600</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>MainWindow</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="lineEdit_filepath"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton_filepath">
|
|
|
|
<property name="text">
|
|
|
|
<string>打开数据</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton_filepath_clear">
|
|
|
|
<property name="text">
|
|
|
|
<string>清除</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton_linear_regression">
|
|
|
|
<property name="text">
|
|
|
|
<string>线性回归</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton_Kmeans">
|
|
|
|
<property name="text">
|
|
|
|
<string>聚类算法</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>PushButton</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton_5">
|
|
|
|
<property name="text">
|
|
|
|
<string>PushButton</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QStackedWidget" name="stackedWidget">
|
|
|
|
<property name="currentIndex">
|
2024-06-08 19:26:36 +08:00
|
|
|
<number>0</number>
|
2024-06-08 03:00:08 +08:00
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="page">
|
2024-06-08 19:26:36 +08:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
2024-06-08 03:00:08 +08:00
|
|
|
<item>
|
|
|
|
<widget class="QTableWidget" name="tableWidget_linear_regression"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBox_linear_regression_data_cleaning">
|
|
|
|
<property name="text">
|
|
|
|
<string>数据清洗</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBox_linear_regression_normalize">
|
|
|
|
<property name="text">
|
|
|
|
<string>数据归一化</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton_linear_regression_preview">
|
|
|
|
<property name="text">
|
|
|
|
<string>开始预处理</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QProgressBar" name="progressBar_linear_regression">
|
|
|
|
<property name="value">
|
|
|
|
<number>24</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label_linear_regression_original">
|
|
|
|
<property name="text">
|
|
|
|
<string>原始数据</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLineEdit" name="lineEdit"/>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="2">
|
|
|
|
<widget class="QLabel" name="label_linear_regression_original_col">
|
|
|
|
<property name="text">
|
|
|
|
<string>列</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="label_linear_regression_target">
|
|
|
|
<property name="text">
|
|
|
|
<string>目标数据</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLineEdit" name="lineEdit_linear_regression_target"/>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="2">
|
|
|
|
<widget class="QLabel" name="label_linear_regression_target_col">
|
|
|
|
<property name="text">
|
|
|
|
<string>列</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton_linear_regression_begin">
|
|
|
|
<property name="text">
|
|
|
|
<string>开始拟合</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton_linear_regression_save">
|
|
|
|
<property name="text">
|
|
|
|
<string>保存数据</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton_linear_regression_show">
|
|
|
|
<property name="text">
|
|
|
|
<string>显示结果</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="page_2"/>
|
|
|
|
<widget class="QWidget" name="page_3"/>
|
|
|
|
<widget class="QWidget" name="page_4"/>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="menubar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>800</width>
|
2024-06-08 19:26:36 +08:00
|
|
|
<height>23</height>
|
2024-06-08 03:00:08 +08:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<widget class="QMenu" name="menu_file">
|
|
|
|
<property name="title">
|
|
|
|
<string>文件</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="actionOpen"/>
|
|
|
|
<addaction name="actionClear"/>
|
|
|
|
<addaction name="actionExit"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenu" name="menu_about">
|
|
|
|
<property name="title">
|
|
|
|
<string>关于</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="actionAbout_At"/>
|
|
|
|
<addaction name="actionAbout"/>
|
|
|
|
</widget>
|
2024-06-08 19:26:36 +08:00
|
|
|
<widget class="QMenu" name="menu">
|
|
|
|
<property name="title">
|
|
|
|
<string>设置</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="actionNumber_Head"/>
|
|
|
|
</widget>
|
2024-06-08 03:00:08 +08:00
|
|
|
<addaction name="menu_file"/>
|
2024-06-08 19:26:36 +08:00
|
|
|
<addaction name="menu"/>
|
2024-06-08 03:00:08 +08:00
|
|
|
<addaction name="menu_about"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
|
|
<action name="actionOpen">
|
|
|
|
<property name="text">
|
|
|
|
<string>Open</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionClear">
|
|
|
|
<property name="text">
|
|
|
|
<string>Clear</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionAbout_At">
|
|
|
|
<property name="text">
|
|
|
|
<string>About At</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionAbout">
|
|
|
|
<property name="text">
|
|
|
|
<string>About</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionExit">
|
|
|
|
<property name="text">
|
|
|
|
<string>Exit</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2024-06-08 19:26:36 +08:00
|
|
|
<action name="actionNumber_Head">
|
|
|
|
<property name="text">
|
|
|
|
<string>Number Head</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2024-06-08 03:00:08 +08:00
|
|
|
</widget>
|
|
|
|
<resources>
|
|
|
|
<include location="images.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|