This repository has been archived by the owner on Aug 18, 2024. It is now read-only.
forked from Zhibihuanian/-LSTM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
668a601
commit ea4adc2
Showing
69 changed files
with
5,997 additions
and
24 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#数据采集: | ||
collect_csv : 爬取数据到csv,生成ssq.txt | ||
#数据清洗: | ||
process : 处理文件ssq.txt,对数据进行清洗预览功能; | ||
|
||
模型创建(模型训练和生成): | ||
LSTM_train : 训练数据 | ||
(通过修改status的值去训练哪个球的模型;事先这里七个球都训练好了,后续觉得哪个球的准确率不高,可以自行修改模型) | ||
模型预测: | ||
LSTM_pre : 模型预测 | ||
|
||
最终生成的data_pre.csv为结果输出; | ||
|
||
|
||
|
||
|
||
|
||
安装python的依赖库: | ||
python3.6 | ||
tensorflow==1.3.0 | ||
numpy==1.19.3 | ||
pandas==1.1.4 | ||
requests==2.24.0 | ||
beautifulsoup4=4.7.1 | ||
|
||
|
||
该模型为作者自创,请勿用于商业用途 | ||
如果实现财富自由,请酌情打赏一下作者,作者很穷的。 | ||
|
||
![image](ef7421254938d28b324734b6d130eb1.jpg) | ||
![image](b541dae4f200847f33c04c25fdc3912.jpg) | ||
|
||
|
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
该模型大的分类为两部分: | ||
1.数据: | ||
a.数据下载:下载最新六合彩数据,自动补齐真实六合彩数据 | ||
b.数据展示:展示最近周期六合彩中奖情况,用于分析 | ||
2.模型:(需要先训练模型,再预测) | ||
a.模型训练:训练模型,周期为模型特征的选择周期(就是用前几个周期来预测,与下面模型验证和预测是对应的,也可多次修改,都会保存模型) | ||
b.模型验证:验证模型准确性 | ||
c.模型预测:预测下一个周期可能中奖的数字(需要先训练模型才能出值) | ||
|
||
重点:目前只有xgboost,还未上LSTM,后续会增加更多特征的设计;(模型选择只能选xgboost,模型预测前要先训练) | ||
重点:目前只有xgboost,还未上LSTM,后续会增加更多特征的设计;(模型选择只能选xgboost,模型预测前要先训练) | ||
重点:目前只有xgboost,还未上LSTM,后续会增加更多特征的设计;(模型选择只能选xgboost,模型预测前要先训练) | ||
|
||
|
||
该模型为作者自创,请勿用于商业用途 | ||
如果实现财富自由,请酌情打赏一下作者,作者很穷的。 | ||
|
||
![image](ef7421254938d28b324734b6d130eb1.jpg) | ||
![image](b541dae4f200847f33c04c25fdc3912.jpg) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
<?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>智能预测系统</string> | ||
</property> | ||
<widget class="QWidget" name="centralwidget"> | ||
<property name="styleSheet"> | ||
<string notr="true">border-image: url(:/background/ML.jpeg);</string> | ||
</property> | ||
<widget class="QLabel" name="label"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>3</x> | ||
<y>1</y> | ||
<width>791</width> | ||
<height>561</height> | ||
</rect> | ||
</property> | ||
<property name="styleSheet"> | ||
<string notr="true">background-image: url(:/picture/ML.jpeg);</string> | ||
</property> | ||
<property name="text"> | ||
<string/> | ||
</property> | ||
</widget> | ||
</widget> | ||
<widget class="QMenuBar" name="menubar"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>800</width> | ||
<height>22</height> | ||
</rect> | ||
</property> | ||
<widget class="QMenu" name="menu_1"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>114</width> | ||
<height>63</height> | ||
</rect> | ||
</property> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="title"> | ||
<string>数据</string> | ||
</property> | ||
<addaction name="act_1_1"/> | ||
</widget> | ||
<widget class="QMenu" name="menu_2"> | ||
<property name="title"> | ||
<string>模型</string> | ||
</property> | ||
<addaction name="act_2_1"/> | ||
<addaction name="act_2_2"/> | ||
<addaction name="act_2_3"/> | ||
</widget> | ||
<addaction name="menu_1"/> | ||
<addaction name="menu_2"/> | ||
</widget> | ||
<widget class="QStatusBar" name="statusbar"/> | ||
<action name="action234324"> | ||
<property name="text"> | ||
<string>234324</string> | ||
</property> | ||
</action> | ||
<action name="act_1_1"> | ||
<property name="enabled"> | ||
<bool>true</bool> | ||
</property> | ||
<property name="text"> | ||
<string>数据输入</string> | ||
</property> | ||
<property name="iconText"> | ||
<string>数据输入</string> | ||
</property> | ||
<property name="toolTip"> | ||
<string>数据输入</string> | ||
</property> | ||
</action> | ||
<action name="act_2_1"> | ||
<property name="text"> | ||
<string>模型训练</string> | ||
</property> | ||
</action> | ||
<action name="act_2_2"> | ||
<property name="text"> | ||
<string>模型验证</string> | ||
</property> | ||
</action> | ||
<action name="act_2_3"> | ||
<property name="text"> | ||
<string>模型预测</string> | ||
</property> | ||
</action> | ||
</widget> | ||
<resources> | ||
<include location="../图片/picture.qrc"/> | ||
</resources> | ||
<connections/> | ||
</ui> |
Oops, something went wrong.