add + before len4

This commit is contained in:
Maciej Czajka 2022-03-27 15:08:41 +02:00
parent a374571c68
commit 0723ba96d4

View File

@ -6,7 +6,7 @@ dataset_operation() {
len4=$(($len3+1)) len4=$(($len3+1))
head -n $len2 all_games.csv.shuf > all_games.csv.test head -n $len2 all_games.csv.shuf > all_games.csv.test
head -n $len3 all_games.csv.shuf | tail -n $len2 > all_games.csv.dev head -n $len3 all_games.csv.shuf | tail -n $len2 > all_games.csv.dev
tail -n $len4 all_games.csv.shuf > all_games.csv.train tail -n +$len4 all_games.csv.shuf > all_games.csv.train
rm all_games.csv.shuf rm all_games.csv.shuf
wc -l all_games.csv.* wc -l all_games.csv.*
} }