-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc.yaml
60 lines (60 loc) · 1.76 KB
/
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
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
stages:
prepare:
cmd: python prepare.py reddit_scrapper/data/scrapped_data.json reddit_scrapper/data/list_of_unique_subreddits.json
deps:
- prepare.py
- reddit_scrapper/data/list_of_unique_subreddits.json
- reddit_scrapper/data/scrapped_data.json
params:
- prepare.lower_limit
- prepare.upper_limit
outs:
- prepared/matrix.csv
- prepared/matrix_bool.csv
generate_association_rules_final:
cmd: python generate_association_rules_final.py prepared/matrix_bool.csv
deps:
- generate_association_rules_final.py
- prepared/matrix_bool.csv
params:
- generate_association_rules_final.min_support
outs:
- target/arules-10000-00035.json
cluster_PCA:
cmd: python cluster_PCA.py prepared/matrix.csv
deps:
- cluster_PCA.py
- prepared/matrix.csv
params:
- cluster_PCA.n_components
- cluster_PCA.n_clusters
outs:
- target/pca.csv
cluster_TSNA:
cmd: python cluster_TSNA.py prepared/matrix.csv
deps:
- cluster_TSNA.py
- prepared/matrix.csv
params:
- cluster_TSNA.n_components
- cluster_TSNA.n_jobs
- cluster_TSNA.random_state
outs:
- target/clustered_users.csv
- target/tsna.pkl
scrape_user:
cmd: python scrape_user.py
params:
- scrape_user.username
outs:
- target/user.json
recommend:
cmd: python recommend.py target/arules-10000-00035.json target/user.json target/pca.csv prepared/matrix.csv target/pca.pkl target/clustering.pkl
deps:
- recommend.py
- target/arules-10000-00035.json
- target/user.json
- target/pca.csv
- prepared/matrix.csv
- target/pca.pkl
- target/clustering.pkl