Multipipeline #wip
Some checks failed
s434780-training/pipeline/head There was a failure building this commit

This commit is contained in:
sadurska@trui.pl 2021-05-16 21:21:35 +02:00
parent 4b2e314d1c
commit 3e683185bd

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
wget -c https://git.wmi.amu.edu.pl/s434780/ium_434780/src/branch/master/Amazon_Consumer_Reviews.csv wget -c https://git.wmi.amu.edu.pl/s434780/ium_434780/src/branch/master/dataset-Amazon.csv
head -n -1 Amazon_Consumer_Reviews.csv | shuf > Amazon_Consumer_Reviews.csv.shuf head -n -1 dataset-Amazon.csv | shuf > dataset-Amazon.csv.shuf
wc -l Amazon_Consumer_Reviews.csv wc -l dataset-Amazon.csv
head -n 500 Amazon_Consumer_Reviews.csv.shuf > test.csv head -n 500 dataset-Amazon.csv.shuf > test.csv
head -n 500 Amazon_Consumer_Reviews.csv.shuf | tail -n 500 > dev.csv head -n 500 dataset-Amazon.csv.shuf | tail -n 500 > dev.csv
tail -n +501 Amazon_Consumer_Reviews.csv.shuf > train.csv tail -n +501 dataset-Amazon.csv.shuf > train.csv
wc -l *.csv wc -l *.csv