diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b234f4e --- /dev/null +++ b/.gitignore @@ -0,0 +1,94 @@ +# macOS +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db + +# IDE +.idea/ +.vscode/ +.claude/ +*.swp +*.swo +*~ + +# Python +__pycache__/ +*.py[cod] +*$py.class +*.so +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ +pythonenv* + +# Jupyter Notebook +.ipynb_checkpoints + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# Logs +logs/ +*.log \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..6957c23 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,19 @@ +# CardioAI - 心血管疾病智能辅助系统项目依赖 +# 请按以下步骤配置环境: +# 1. 创建conda虚拟环境: conda create -n cardioenv python=3.10 +# 2. 激活环境: conda activate cardioenv +# 3. 安装依赖: pip install -r requirements.txt + +pandas>=2.0.0 +openpyxl>=3.1.0 +numpy>=1.24.0 +scikit-learn>=1.3.0 +xgboost>=2.0.0 +joblib>=1.3.0 +streamlit>=1.28.0 +plotly>=5.18.0 +Flask>=3.0.0 +python-dotenv>=1.0.0 +langchain-openai>=0.0.5 +dashscope>=1.14.0 +requests>=2.31.0 \ No newline at end of file