forked from atharvatechnology/news_recommender
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc.yaml
34 lines (34 loc) · 808 Bytes
/
dvc.yaml
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
stages:
preprocess:
cmd: python ./src/preprocess.py ./data/
deps:
- ./src/preprocess.py
- data/likes.csv
- data/news.csv
- data/ratings.csv
- data/users.csv
train:
cmd: python ./src/train.py ./data/
deps:
- ./data/news_processed.csv
- ./data/ratings_processed.csv
- ./data/users_processed.csv
- ./src/model.py
- ./src/train.py
outs:
- ./data/embeddings.pt
- ./data/losses.png
- ./data/test_losses.csv
- ./data/train_losses.csv
metrics:
- ./data/metrics.json:
cache: true
evaluate:
cmd: python ./src/evaluate.py ./data/ 7170
deps:
- ./data/embeddings.pt
- ./data/news_processed.csv
- ./data/ratings_processed.csv
- ./data/users_processed.csv
- ./src/evaluate.py
- ./src/model.py