10 lines
329 B
Bash
10 lines
329 B
Bash
kaggle datasets download -d karangadiya/fifa19
|
|
unzip -o fifa19.zip
|
|
|
|
x=$(($CUTOFF/10))
|
|
|
|
head -n 1 data.csv > header.csv
|
|
tail -n +2 data.csv| tail -n $CUTOFF | shuf > data_shuf.csv
|
|
head -n $(($x*2)) data_shuf.csv > test.csv
|
|
head -n $(($x*2)) data_shuf.csv | tail -n 3330 > validation.csv
|
|
tail -n $(($x*6)) data_shuf.csv > train.csv |