-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
73 lines (50 loc) · 1.4 KB
/
Makefile
File metadata and controls
73 lines (50 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.PHONY: install dev-install format lint test ingest train pipeline streamlit profile sqlite experiment shap smoke backtest benchmark scrape feature-store drift generate-data
install:
pip3 install -r requirements.txt
dev-install:
pip3 install -r requirements.txt && pip3 install pre-commit
format:
ruff check src tests scripts apps experiments --fix
black src tests scripts apps experiments
lint:
ruff check src tests scripts apps experiments
black --check src tests scripts apps experiments
mypy src
test:
pytest
ingest:
python3 scripts/ingest_sample.py
train:
python3 -m cardvalue_ml.models.train
pipeline:
python3 scripts/run_pipeline.py
docker-build:
docker build -f docker/Dockerfile -t cardvalueml-api .
docker-up:
docker compose -f docker/docker-compose.yml up --build
docker-down:
docker compose -f docker/docker-compose.yml down
streamlit:
streamlit run apps/streamlit_app.py
profile:
python3 scripts/generate_profile.py
sqlite:
python3 scripts/load_to_sqlite.py
experiment:
python3 scripts/run_experiment.py
shap:
python3 scripts/generate_shap.py
smoke:
python3 scripts/run_smoke_tests.py
backtest:
python3 scripts/backtest.py
benchmark:
python3 scripts/benchmark_models.py
scrape:
python3 scripts/scrape_mock_marketplace.py
feature-store:
python3 scripts/build_feature_store.py
drift:
python3 scripts/drift_report.py
generate-data:
python3 scripts/generate_realistic_dataset.py