ium_434732/skrypt_zad2.sh

11 lines
420 B
Bash
Raw Normal View History

2021-03-28 19:27:38 +02:00
#!/bin/bash
pip install kaggle
kaggle datasets download martj42/international-football-results-from-1872-to-2017 --unzip
2021-03-28 19:59:41 +02:00
shuf ./results.csv | tail -n +"${CUTOFF}" > ./results.csv_cut.shuf
2021-03-28 19:27:38 +02:00
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*