fix output files
This commit is contained in:
parent
d0f70b12de
commit
82e0f4142c
7
data.sh
7
data.sh
@ -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
|
Loading…
Reference in New Issue
Block a user