d
This commit is contained in:
parent
9e5b70e583
commit
92cbe71e44
@ -3,13 +3,9 @@ pip install kaggle
|
|||||||
kaggle datasets download martj42/international-football-results-from-1872-to-2017 --unzip
|
kaggle datasets download martj42/international-football-results-from-1872-to-2017 --unzip
|
||||||
|
|
||||||
|
|
||||||
tail -n +2 results.csv | shuf > results.data.shuf
|
shuf results.csv | tail -n +"${CUTOFF}" > results.csv_cut.shuf
|
||||||
|
|
||||||
head -n 1022 results.data.shuf > results.data.test
|
head -n 75384 results.csv_cut.shuf > results.csv_cut.test
|
||||||
head -n 2044 results.data.shuf| tail -n 1022 > results.data.dev
|
head -n 150768 results.csv_cut.shuf | tail -n 75384 > results.csv_cut.dev
|
||||||
tail -n +3066 results.data.shuf > results.data.train
|
tail -n +150769 results.csv_cut.shuf > results.csv_cut.train
|
||||||
|
wc -l results.csv_cut*
|
||||||
|
|
||||||
|
|
||||||
head -n $1 results.data.shuf > lab3.data
|
|
||||||
cat results.csv lab3.data > lab3.csv
|
|
Loading…
Reference in New Issue
Block a user