Zaktualizuj 'skrypt.sh'
This commit is contained in:
parent
cf7a98e939
commit
57afe1413b
20
skrypt.sh
20
skrypt.sh
@ -1,11 +1,11 @@
|
|||||||
!kaggle datasets download -d slehkyi/extended-football-stats-for-european-leagues-xg
|
kaggle datasets download -d slehkyi/extended-football-stats-for-european-leagues-xg
|
||||||
!unzip -o extended-football-stats-for-european-leagues-xg.zip
|
unzip -o extended-football-stats-for-european-leagues-xg.zip
|
||||||
!mv understat.com.csv understat.csv
|
mv understat.com.csv understat.csv
|
||||||
!wc -l understat.csv
|
wc -l understat.csv
|
||||||
! head -n -1 understat.csv | shuf > understat.csv.shuf
|
head -n -1 understat.csv | shuf > understat.csv.shuf
|
||||||
!head -n 137 understat.csv.shuf > understat.csv.test
|
head -n 137 understat.csv.shuf > understat.csv.test
|
||||||
!head -n 274 understat.csv.shuf | tail -n 137 > understat.csv.dev
|
head -n 274 understat.csv.shuf | tail -n 137 > understat.csv.dev
|
||||||
!tail -n +275 understat.csv.shuf > understat.csv.train
|
tail -n +275 understat.csv.shuf > understat.csv.train
|
||||||
!rm understat.csv.shuf
|
rm understat.csv.shuf
|
||||||
!wc -l understat.csv*
|
wc -l understat.csv*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user