dodanie skrypt.sh

This commit is contained in:
osboxes.org 2022-03-27 09:52:04 -04:00
parent d92f4f8161
commit fb16c0ce98

11
skrypt.sh Normal file
View File

@ -0,0 +1,11 @@
!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
!wc -l understat.csv*