Compare commits

..

2 Commits

Author SHA1 Message Date
Yao 03e200171f Update README.md and add main.py and requirements.txt
2 months ago
Yao f17487756f Update .gitignore file
2 months ago

5
.gitignore vendored

@ -6,5 +6,8 @@ debug.log
test test
models models
data data
pg_request
echarts_visualization
.vscode .vscode
normalized_df.csv normalized_df.csv
1.txt

@ -1,2 +1,12 @@
# Influenza_fund_linkage_system # <center>流感基金关联分析系统<center/>
## 项目介绍
## 项目结构
## 运行方法
```
pip install -r requirements.txt
```
DB_PARAMS
## 效果图

File diff suppressed because one or more lines are too long

Binary file not shown.

@ -0,0 +1,21 @@
from typing import List, Type
import pg_request as pg
import models as m
import echarts_visualization as ev
def main(target: str,
target_name: str,
exog_columns: List[str],
models: List[Type] = [
m.VAR_Forecasting, m.ARIMA_Forecasting, m.SARIMA_Forecasting,
m.RF_Forecasting
]):
# pg.run()
# m.run(forecast_target=target, exog_columns=exog_columns, models=models)
ev.run(target=target, target_name=target_name, models=models)
if __name__ == '__main__':
main('liugan_index', '流感指数',
['infection_number.1', 'infection_number.2', 'jijin_data', 'shoupan'])

@ -1,127 +1,17 @@
altair==5.3.0 // 数据库
annotated-types==0.7.0
asgiref==3.8.1
asttokens==2.4.1
attrs==23.2.0
backcall==0.2.0
beautifulsoup4==4.12.3
bleach==6.1.0
blinker==1.8.2
cachetools==5.3.3
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
contourpy==1.2.1
cryptography==42.0.7
cycler==0.12.1
DateTime==5.5
decorator==5.1.1
defusedxml==0.7.1
Django==5.0.6
django-cors-headers==4.3.1
djangorestframework==3.15.1
docopt==0.6.2
executing==2.0.1
fastjsonschema==2.19.1
fonttools==4.51.0
gitdb==4.0.11
GitPython==3.1.43
htmlmin==0.1.12
idna==3.7
ImageHash==4.3.1
ipython==8.12.3
jedi==0.19.1
Jinja2==3.1.4
joblib==1.1.1
jsonschema==4.22.0
jsonschema-specifications==2023.12.1
jupyter_client==8.6.2
jupyter_core==5.7.2
jupyterlab_pygments==0.3.0
jwt==1.3.1
kiwisolver==1.4.5
lxml==5.2.2
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.9.0
matplotlib-inline==0.1.7
mdurl==0.1.2
missingno==0.5.2
mistune==3.0.2
multimethod==1.11.2
networkx==3.3
numpy==1.26.4
packaging==24.0
pandas==2.2.2
pandas-profiling==3.2.0
pandocfilters==1.5.1
parso==0.8.4
phik==0.12.4
pickleshare==0.7.5
pillow==10.3.0
platformdirs==4.2.2
prettytable==3.10.0
prompt_toolkit==3.0.46
protobuf==4.25.3
psycopg2==2.9.9 psycopg2==2.9.9
pure-eval==0.2.2
pyarrow==16.1.0 // 数据处理
pycparser==2.22 pandas==2.2.2
pydantic==1.9.0
pydantic-settings==2.2.1 // 爬虫
pydantic_core==2.18.2
pydeck==0.9.1
pyecharts==2.0.5
Pygments==2.18.0
PyJWT==2.8.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
pytz==2024.1
PyWavelets==1.6.0
pywin32==306
PyYAML==6.0.1
pyzmq==26.0.3
referencing==0.35.1
requests==2.31.0 requests==2.31.0
rich==13.7.1 lxml==4.9.3
rpds-py==0.18.1
scipy==1.13.0 // 数据可视化
seaborn==0.13.2
setuptools==70.0.0
simplejson==3.19.2
six==1.16.0
smmap==5.0.1
soupsieve==2.5
sqlparse==0.5.0
st-btn-select==0.1.2
st-pages==0.4.5
stack-data==0.6.3
streamlit==1.34.0 streamlit==1.34.0
streamlit-datalist==0.0.5
streamlit-echarts==0.4.0 streamlit-echarts==0.4.0
streamlit-option-menu==0.3.12
streamlit-pandas-profiling==0.1.3 // 模型
streamlit-scrollable-textbox==0.0.3 statsmodels==0.14.2
streamlit-space==0.1.5 pmdarima==2.0.4
streamlit-toggle==0.1.3
streamlit-vertical-slider==2.5.5
tangled-up-in-unicode==0.2.0
tenacity==8.3.0
tinycss2==1.3.0
toml==0.10.2
toolz==0.12.1
tornado==6.4
tqdm==4.66.4
traitlets==5.14.3
typing_extensions==4.11.0
tzdata==2024.1
urllib3==2.2.1
visions==0.7.4
watchdog==4.0.0
wcwidth==0.2.13
webencodings==0.5.1
yarg==0.1.9
zope.interface==6.4.post2
Loading…
Cancel
Save