-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSnakefile
More file actions
41 lines (36 loc) · 761 Bytes
/
Snakefile
File metadata and controls
41 lines (36 loc) · 761 Bytes
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
rule all:
input:
"results.txt"
rule data:
output:
"data.csv"
shell:
"python data_loader.py"
rule feat_builder:
input:
"data.csv"
output:
"words.df"
shell:
"python feature_builder.py"
rule feat_select:
input:
"data.csv",
"words.df"
output:
"data_sets/x_train.npy",
"data_sets/y_train.npy",
"data_sets/x_test.npy",
"data_sets/y_test.npy"
shell:
"python feature_selection.py"
rule models:
input:
"data_sets/x_train.npy",
"data_sets/y_train.npy",
"data_sets/x_test.npy",
"data_sets/y_test.npy"
output:
"results.txt"
shell:
"python models.py XGB > results.txt"