2311020116_CreditCardFraudD.../pyproject.toml
2311020116lhh 73029ed6b6 fix: 修复依赖管理问题
- 删除未使用的flask依赖
- 为所有依赖指定版本号以确保一致性
- 依赖版本:
  - numpy>=1.24.0
  - polars>=0.19.0
  - scikit-learn>=1.3.0
  - imbalanced-learn>=0.11.0
  - matplotlib>=3.7.0
  - seaborn>=0.12.0
  - joblib>=1.3.0
  - pydantic>=2.0.0
  - streamlit>=1.28.0
2026-01-15 23:09:52 +08:00

26 lines
540 B
TOML

[tool.uv]
[project]
name = "creditcard-fraud-detection"
version = "0.1.0"
description = "信用卡欺诈检测系统"
license = { text = "MIT" }
dependencies = [
"numpy>=1.24.0",
"polars>=0.19.0",
"scikit-learn>=1.3.0",
"imbalanced-learn>=0.11.0",
"matplotlib>=3.7.0",
"seaborn>=0.12.0",
"joblib>=1.3.0",
"pydantic>=2.0.0",
"streamlit>=1.28.0",
]
[project.scripts]
train = "src.train:train_and_evaluate"
demo = "streamlit:run src/streamlit_app.py"
[tool.ruff]
line-length = 88
select = ["E", "F", "W"]