2022-03-27 21:31:51 +02:00
|
|
|
kaggle datasets download -d slehkyi/extended-football-stats-for-european-leagues-xg
|
|
|
|
unzip -o extended-football-stats-for-european-leagues-xg.zip
|
|
|
|
mv understat.com.csv understat.csv
|
|
|
|
wc -l understat.csv
|
|
|
|
head -n -1 understat.csv | shuf > understat.csv.shuf
|
|
|
|
head -n 137 understat.csv.shuf > understat.csv.test
|
|
|
|
head -n 274 understat.csv.shuf | tail -n 137 > understat.csv.dev
|
|
|
|
tail -n +275 understat.csv.shuf > understat.csv.train
|
|
|
|
rm understat.csv.shuf
|
2022-03-27 15:52:04 +02:00
|
|
|
|
2022-03-27 22:18:50 +02:00
|
|
|
head -n $CUTOFF understat.csv > understat.csv.cutted
|
2022-04-03 12:56:19 +02:00
|
|
|
python3 init.py
|