2026-01-15 16:20:26 +08:00
|
|
|
[tool.uv]
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
name = "creditcard-fraud-detection"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
description = "信用卡欺诈检测系统"
|
|
|
|
|
license = { text = "MIT" }
|
|
|
|
|
dependencies = [
|
2026-01-15 23:09:52 +08:00
|
|
|
"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 16:20:26 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
|
train = "src.train:train_and_evaluate"
|
|
|
|
|
demo = "streamlit:run src/streamlit_app.py"
|
|
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
|
line-length = 88
|
|
|
|
|
select = ["E", "F", "W"]
|