2311020116_CreditCardFraudD.../pyproject.toml
2311020116lhh d82db25d63 feat: 添加2026技术栈要求的功能和修复欺诈检测逻辑
主要更新:
1. 添加DeepSeek LLM集成(llm_integration.py)
2. 添加Pandera数据验证(data_validation.py)
3. 添加数据泄露风险检查(data_leakage_check.py)
4. 添加LightGBM模型支持
5. 修复infer.py中的欺诈概率计算逻辑错误
6. 更新pyproject.toml添加新依赖
7. 更新.env.example添加LLM配置
8. 添加欺诈检测测试脚本(test_fraud_detection.py)
9. 更新agent_app.py集成LLM功能
10. 更新train.py添加LightGBM模型
11. 更新data.py集成Pandera验证
2026-01-16 01:23:59 +08:00

31 lines
656 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",
"pandas>=2.2.0",
"scikit-learn>=1.3.0",
"imbalanced-learn>=0.11.0",
"lightgbm>=4.0.0",
"matplotlib>=3.7.0",
"seaborn>=0.13.0",
"joblib>=1.3.0",
"pydantic>=2.0.0",
"pandera>=0.18.0",
"openai>=1.0.0",
"python-dotenv>=1.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"]