Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Makefile 1.3 KB

You have to be logged in to leave a comment. Sign In
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
74
75
76
77
78
79
80
81
82
83
84
  1. init:
  2. uv venv --python 3.10
  3. uv init && rm hello.py
  4. uv tool install black
  5. install:
  6. . .venv/bin/activate
  7. uv pip install --all-extras --requirement pyproject.toml
  8. # uv pip sync requirements.txt
  9. # uv add -r requirements.txt
  10. delete:
  11. rm uv.lock pyproject.toml .python-version && rm -rf .venv
  12. env:
  13. cp .env.example .env
  14. awscreds:
  15. uv run -m src.utils.create_aws_block
  16. visualise:
  17. uv run -m src.visualise
  18. clean:
  19. uv run -m src.clean_data
  20. transform:
  21. uv run -m src.transform
  22. train:
  23. uv run -m src.train
  24. pipeline:
  25. uv run -m src.pipeline
  26. fetch-best-model:
  27. uv run -m src.fetch_best_model
  28. sample:
  29. uv run -m src.create_input_sample
  30. serve_local:
  31. uv run -m src.serve_local
  32. serve:
  33. uv run -m src.serve
  34. observe:
  35. uv run -m src.evidently_metrics
  36. quality_checks:
  37. @echo "Running quality checks"
  38. uv run -m isort .
  39. uv run -m black .
  40. uv run -m ruff check .
  41. uv run -m mypy .
  42. dvc:
  43. uv run dvc repro
  44. prefect:
  45. uv run prefect server start &
  46. prefect-init:
  47. uv run prefect init
  48. worker:
  49. uv run prefect worker start -p weather -t process &
  50. deploy:
  51. uv run prefect deploy src/train.py:main -n weather-health -p weather
  52. deployment:
  53. uv run prefect deployment run 'train_model/weather-health'
  54. build:
  55. docker build -t weather-disease:v1.0.0 .
  56. run:
  57. docker run -d -p 9696:9696 weather-disease:v1.0.0
  58. start-monitoring:
  59. cd monitoring && docker-compose up -d
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...