change gshuf (Mac) to shuf

This commit is contained in:
Maciej Czajka 2022-03-25 21:20:04 +01:00
parent 2733ccab0b
commit a303d1122a

View File

@ -1,5 +1,5 @@
dataset_operation() { dataset_operation() {
cat all_games.csv | gshuf > all_games.csv.shuf cat all_games.csv | shuf > all_games.csv.shuf
head -n 1880 all_games.csv.shuf > all_games.csv.test head -n 1880 all_games.csv.shuf > all_games.csv.test
head -n 3760 all_games.csv.shuf | tail -n 1880 > all_games.csv.dev head -n 3760 all_games.csv.shuf | tail -n 1880 > all_games.csv.dev
tail -n +3761 all_games.csv.shuf > all_games.csv.train tail -n +3761 all_games.csv.shuf > all_games.csv.train