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

dvc.yaml 1.4 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
  1. stages: #stages of dvc
  2. #stage 1
  3. load_data: #specifying path running
  4. cmd: python src/load_data.py --config=params.yaml #main .py path
  5. deps: #dependencis
  6. - src/get_data.py #location
  7. - src/load_data.py #location
  8. - data_given/insurance_updated.csv #root data location
  9. outs: #outcomes after running this code
  10. - data/raw/insurance_updated.csv
  11. #stage 2
  12. split_data:
  13. cmd: python src/split_data.py --config=params.yaml
  14. deps:
  15. - src/split_data.py
  16. - data/raw/insurance_updated.csv
  17. outs:
  18. - data/processed/train_insurance.csv
  19. - data/processed/test_insurance.csv
  20. #stage 3
  21. train_evaluate:
  22. cmd: python src/train_evaluate.py --config=params.yaml
  23. deps:
  24. - data/processed/train_insurance.csv
  25. - data/processed/test_insurance.csv
  26. - src/train_evaluate.py
  27. params:
  28. - estimators.GradientBoostingRegressor.params.learning_rate
  29. - estimators.GradientBoostingRegressor.params.n_estimators
  30. - estimators.GradientBoostingRegressor.params.alpha
  31. - estimators.GradientBoostingRegressor.params.verbose
  32. - estimators.GradientBoostingRegressor.params.validation_fraction
  33. - estimators.GradientBoostingRegressor.params.tol
  34. - estimators.GradientBoostingRegressor.params.ccp_alpha
  35. metrics:
  36. - reports/scores.json:
  37. cache: false
  38. - reports/params.json:
  39. cache: false
  40. outs:
  41. - saved_models/model.pkl
Tip!

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

Comments

Loading...