diff --git a/script.sh b/script.sh index 59434ff..0618321 100644 --- a/script.sh +++ b/script.sh @@ -1,8 +1,8 @@ #!/bin/bash -wget -c https://git.wmi.amu.edu.pl/s434780/ium_434780/src/branch/master/Amazon_Consumer_Reviews.csv -head -n -1 Amazon_Consumer_Reviews.csv | shuf > Amazon_Consumer_Reviews.csv.shuf -wc -l Amazon_Consumer_Reviews.csv -head -n 500 Amazon_Consumer_Reviews.csv.shuf > test.csv -head -n 500 Amazon_Consumer_Reviews.csv.shuf | tail -n 500 > dev.csv -tail -n +501 Amazon_Consumer_Reviews.csv.shuf > train.csv +wget -c https://git.wmi.amu.edu.pl/s434780/ium_434780/src/branch/master/dataset-Amazon.csv +head -n -1 dataset-Amazon.csv | shuf > dataset-Amazon.csv.shuf +wc -l dataset-Amazon.csv +head -n 500 dataset-Amazon.csv.shuf > test.csv +head -n 500 dataset-Amazon.csv.shuf | tail -n 500 > dev.csv +tail -n +501 dataset-Amazon.csv.shuf > train.csv wc -l *.csv \ No newline at end of file