11 lines
443 B
Bash
11 lines
443 B
Bash
#!/bin/bash
|
|
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
|
|
echo "Wielkość zbioru"
|
|
wc -l ./vaccines.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 |