pyqt_data_analysis/MainWindow.ui

369 lines
13 KiB
Plaintext
Raw Normal View History

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>
</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-09 02:54:44 +08:00
<layout class="QVBoxLayout" name="verticalLayout_5">
2024-06-08 03:00:08 +08:00
<item>
<widget class="QTableWidget" name="tableWidget_linear_regression"/>
</item>
<item>
2024-06-09 02:54:44 +08:00
<layout class="QHBoxLayout" name="horizontalLayout_5">
2024-06-08 03:00:08 +08:00
<item>
2024-06-09 02:54:44 +08:00
<layout class="QVBoxLayout" name="verticalLayout_4">
2024-06-08 03:00:08 +08:00
<item>
2024-06-09 02:54:44 +08:00
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>标签</string>
</property>
<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_linear_regression_original">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="placeholderText">
<string>原始数据Title</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">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="placeholderText">
<string>目标数据Title</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>学习参数</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_linear_regression_iter">
<property name="text">
<string>迭代次数</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_linear_regression_rate">
<property name="text">
<string>学习率</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="spinBox_linear_regression_iter">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>10000</number>
</property>
<property name="value">
<number>500</number>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBox_linear_regression_rate">
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.010000000000000</double>
</property>
<property name="value">
<double>0.030000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>特征变换</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="0">
<widget class="QLabel" name="label_linear_regression_ploynmial">
<property name="text">
<string>多项式变换</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_linear_regression_sinusoid">
<property name="text">
<string>正弦变换</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="spinBox_linear_regression_sinusoid"/>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="spinBox_linear_regression_ploynmial"/>
</item>
</layout>
</widget>
</item>
</layout>
2024-06-08 03:00:08 +08:00
</item>
<item>
2024-06-09 02:54:44 +08:00
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_linear_regression_train_percent">
<property name="text">
<string>学习数据比例</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="doubleSpinBox_linear_regression_train_percent">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="value">
<double>0.800000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_linear_regression_begin">
<property name="text">
<string>开始拟合</string>
</property>
</widget>
</item>
<item>
<widget class="QProgressBar" name="progressBar_linear_regression">
<property name="value">
<number>24</number>
</property>
</widget>
</item>
</layout>
2024-06-08 03:00:08 +08:00
</item>
</layout>
</item>
<item>
2024-06-09 02:54:44 +08:00
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>结果处理</string>
2024-06-08 03:00:08 +08:00
</property>
2024-06-09 02:54:44 +08:00
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QPushButton" name="pushButton_linear_regression_preview">
<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>
<item>
<widget class="QPushButton" name="pushButton_linear_regression_save">
<property name="text">
<string>保存数据</string>
</property>
</widget>
</item>
</layout>
2024-06-08 03:00:08 +08:00
</widget>
</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-09 02:54:44 +08:00
<height>24</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>