11 lines
399 B
Bash
11 lines
399 B
Bash
#!/bin/bash
|
|
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
|
|
|
|
head -n 6979 results.csv_cut.shuf > results.csv_cut.test
|
|
head -n 213958 results.csv_cut.shuf | tail -n 6979 > results.csv_cut.dev
|
|
tail -n +13959 results.csv_cut.shuf > results.csv_cut.train
|
|
wc -l results.csv_cut* |