27 lines
485 B
TOML
27 lines
485 B
TOML
|
|
[tool.uv]
|
||
|
|
|
||
|
|
[project]
|
||
|
|
name = "creditcard-fraud-detection"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "信用卡欺诈检测系统"
|
||
|
|
license = { text = "MIT" }
|
||
|
|
dependencies = [
|
||
|
|
"flask",
|
||
|
|
"numpy",
|
||
|
|
"polars",
|
||
|
|
"scikit-learn",
|
||
|
|
"imbalanced-learn",
|
||
|
|
"matplotlib",
|
||
|
|
"seaborn",
|
||
|
|
"joblib",
|
||
|
|
"pydantic",
|
||
|
|
"streamlit",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.scripts]
|
||
|
|
train = "src.train:train_and_evaluate"
|
||
|
|
demo = "streamlit:run src/streamlit_app.py"
|
||
|
|
|
||
|
|
[tool.ruff]
|
||
|
|
line-length = 88
|
||
|
|
select = ["E", "F", "W"]
|