-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipeline.sh
29 lines (19 loc) · 946 Bytes
/
pipeline.sh
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
echo "START OF PIPELINE.SH\n"
# Convert the preprocessing notebooks to python scripts
echo "convert notebooks to scripts"
cd notebooks/
jupyter nbconvert --to script analysis.ipynb
cd your_local_path/reorganizing-irb-scripts/plant-phenotypes-nlp/notebooks
python analysis.py --name plants1 --dataset plants --filter --ic --vanilla
python analysis.py --name plants2 --dataset plants --filter --learning --baseline
python analysis.py --name plants3 --dataset plants --filter --bio_small --vocab
python analysis.py --name plants4 --dataset plants --filter --collapsed
python analysis.py --name plants5 --dataset plants --filter --noblecoder
python analysis.py --name plants6 --dataset plants --filter --nmf --lda
python analysis.py --name plants7 --dataset plants --filter --bert --biobert
cd ../scripts
python rglob_and_stack.py plants
cd ../quoats/
jupyter nbconvert --to script plots.ipynb
python plots.py
echo "\nEND OF PIPELINE.SH"