fix output files

This commit is contained in:
Dawid 2021-03-28 21:27:59 +02:00
parent d0f70b12de
commit 82e0f4142c

View File

@ -3,10 +3,9 @@ echo "pobieram dane"
curl -OL https://git.wmi.amu.edu.pl/s434804/ium_434804/raw/branch/master/country_vaccinations.csv
echo "CUTOFF danych"
shuf ./country_vaccinations.csv > ./vaccines.csv | tail -n +$((${CUTOFF})) > ./vaccines.csv
wc -l ./imdb_movies.csv
echo "Wielkość zbioru"
wc -l ./vaccines.csv
head -n 1468 vaccines.csv.shuf > ./test.csv
head -n 2936 vaccines.csv.shuf | tail -n 1468 > ./validation.csv
tail -n +2936 vaccines.csv.shuf > ./train.csv
head -n 1468 vaccines.csv > ./test.csv
head -n 2936 vaccines.csv | tail -n 1468 > ./validation.csv
tail -n +2936 vaccines.csv > ./train.csv
wc -l ./*.csv