change gshuf (Mac) to shuf
This commit is contained in:
parent
2733ccab0b
commit
a303d1122a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user