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